about summary refs log tree commit diff
diff options
context:
space:
mode:
authorRalf Jung <post@ralfj.de>2022-08-10 16:15:21 -0400
committerGitHub <noreply@github.com>2022-08-10 16:15:21 -0400
commitd1cace5a976bb1f098d64e72861178d221987f98 (patch)
treeda99c2a434c51e4e5ac5e2e5ff9953b81ec15b13
parent2d1c683112f6bacb0dbc06379d7b1d40a93d0523 (diff)
downloadrust-d1cace5a976bb1f098d64e72861178d221987f98.tar.gz
rust-d1cace5a976bb1f098d64e72861178d221987f98.zip
grammar
Co-authored-by: Frank Steffahn <fdsteffahn@gmail.com>
-rw-r--r--library/core/src/intrinsics.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/core/src/intrinsics.rs b/library/core/src/intrinsics.rs
index 565c32d6888..1bb70d513bd 100644
--- a/library/core/src/intrinsics.rs
+++ b/library/core/src/intrinsics.rs
@@ -2277,7 +2277,7 @@ extern "rust-intrinsic" {
     ///
     /// # Safety
     ///
-    /// It's UB to call this if any of the *bytes* in `*a` or `*b` are uninitialized or carries a
+    /// It's UB to call this if any of the *bytes* in `*a` or `*b` are uninitialized or carry a
     /// pointer value.
     /// Note that this is a stricter criterion than just the *values* being
     /// fully-initialized: if `T` has padding, it's UB to call this intrinsic.