File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -358,7 +358,7 @@ pub fn size_of_val<T: ?Sized>(val: &T) -> usize {
358
358
/// - an (unstable) [extern type], then this function is always safe to
359
359
/// call, but may panic or otherwise return the wrong value, as the
360
360
/// extern type's layout is not known. This is the same behavior as
361
- /// [`size_of_val`] on a reference to a type with extern type tail.
361
+ /// [`size_of_val`] on a reference to a type with an extern type tail.
362
362
/// - otherwise, it is conservatively not allowed to call this function.
363
363
///
364
364
/// [slice]: ../../std/primitive.slice.html
@@ -493,7 +493,7 @@ pub fn align_of_val<T: ?Sized>(val: &T) -> usize {
493
493
/// - an (unstable) [extern type], then this function is always safe to
494
494
/// call, but may panic or otherwise return the wrong value, as the
495
495
/// extern type's layout is not known. This is the same behavior as
496
- /// [`align_of_val`] on a reference to a type with extern type tail.
496
+ /// [`align_of_val`] on a reference to a type with an extern type tail.
497
497
/// - otherwise, it is conservatively not allowed to call this function.
498
498
///
499
499
/// [slice]: ../../std/primitive.slice.html
You can’t perform that action at this time.
0 commit comments