about summary refs log tree commit diff
diff options
context:
space:
mode:
authorRalf Jung <post@ralfj.de>2022-12-21 11:06:20 +0100
committerGitHub <noreply@github.com>2022-12-21 11:06:20 +0100
commit6f21ba4a06b7fa17113b7029c4aa7805db16aa32 (patch)
tree13df9d7a582bb79eb1c87f9733831dfe7bb13cce
parent8b2a7da3b0d5ef813c3ecbdde2a550eedef27712 (diff)
downloadrust-6f21ba4a06b7fa17113b7029c4aa7805db16aa32.tar.gz
rust-6f21ba4a06b7fa17113b7029c4aa7805db16aa32.zip
less specific wording
-rw-r--r--library/core/src/intrinsics.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/library/core/src/intrinsics.rs b/library/core/src/intrinsics.rs
index ed58a7f1799..a521905a9e7 100644
--- a/library/core/src/intrinsics.rs
+++ b/library/core/src/intrinsics.rs
@@ -959,8 +959,7 @@ extern "rust-intrinsic" {
     #[rustc_safe_intrinsic]
     pub fn assert_zero_valid<T>();
 
-    /// A guard for `std::mem::uninitialized`. Checks whether a repeated bit pattern `0x01`
-    /// is legal for `T`: This will statically either panic, or do nothing.
+    /// A guard for `std::mem::uninitialized`. This will statically either panic, or do nothing.
     ///
     /// This intrinsic does not have a stable counterpart.
     #[rustc_const_unstable(feature = "const_assert_type2", issue = "none")]