We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents ddb6a46 + e241d5a commit a739e28Copy full SHA for a739e28
library/core/src/mem/mod.rs
@@ -1000,7 +1000,7 @@ pub fn copy<T: Copy>(x: &T) -> T {
1000
///
1001
/// This function will unsafely assume the pointer `src` is valid for [`size_of::<U>`][size_of]
1002
/// bytes by transmuting `&T` to `&U` and then reading the `&U` (except that this is done in a way
1003
-/// that is correct even when `&U` makes stricter alignment requirements than `&T`). It will also
+/// that is correct even when `&U` has stricter alignment requirements than `&T`). It will also
1004
/// unsafely create a copy of the contained value instead of moving out of `src`.
1005
1006
/// It is not a compile-time error if `T` and `U` have different sizes, but it
0 commit comments