Skip to content

Commit cb8c94c

Browse files
RalfJunglcnr
andauthored
improve grammar
Co-authored-by: Bastian Kauschke <[email protected]>
1 parent 55d207a commit cb8c94c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/libcore/mem/mod.rs

+2-2
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)