File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 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 {
358358/// - an (unstable) [extern type], then this function is always safe to
359359/// call, but may panic or otherwise return the wrong value, as the
360360/// 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.
362362/// - otherwise, it is conservatively not allowed to call this function.
363363///
364364/// [slice]: ../../std/primitive.slice.html
@@ -493,7 +493,7 @@ pub fn align_of_val<T: ?Sized>(val: &T) -> usize {
493493/// - an (unstable) [extern type], then this function is always safe to
494494/// call, but may panic or otherwise return the wrong value, as the
495495/// 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.
497497/// - otherwise, it is conservatively not allowed to call this function.
498498///
499499/// [slice]: ../../std/primitive.slice.html
You can’t perform that action at this time.
0 commit comments