about summary refs log tree commit diff
diff options
context:
space:
mode:
authorClearLove <98693523+DiuDiu777@users.noreply.github.com>2025-03-13 11:33:55 +0800
committerGitHub <noreply@github.com>2025-03-13 11:33:55 +0800
commitd2ff65807c5babc8066e789b60092c45cfef32c0 (patch)
treee2ed5102740f6bbf5b6c8c46ec4eb8e39191bf9d
parent48a54d026d632ac88ce08dee1462c31ed1071ca5 (diff)
downloadrust-d2ff65807c5babc8066e789b60092c45cfef32c0.tar.gz
rust-d2ff65807c5babc8066e789b60092c45cfef32c0.zip
Update library/core/src/intrinsics/mod.rs
Co-authored-by: Thom Chiovoloni <thom@shift.click>
-rw-r--r--library/core/src/intrinsics/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/core/src/intrinsics/mod.rs b/library/core/src/intrinsics/mod.rs
index 4fa6df9f552..8055c7c0bc2 100644
--- a/library/core/src/intrinsics/mod.rs
+++ b/library/core/src/intrinsics/mod.rs
@@ -3213,7 +3213,7 @@ pub const fn is_val_statically_known<T: Copy>(_arg: T) -> bool {
 /// * The region of memory beginning at `x` must *not* overlap with the region of memory
 ///   beginning at `y`.
 ///
-/// * The memory pointed by `x` and `y` must contain correct value of type `T`.
+/// * The memory pointed by `x` and `y` must both contain values of type `T`.
 ///
 /// [valid]: crate::ptr#safety
 #[rustc_nounwind]