From 6f21ba4a06b7fa17113b7029c4aa7805db16aa32 Mon Sep 17 00:00:00 2001 From: Ralf Jung Date: Wed, 21 Dec 2022 11:06:20 +0100 Subject: [PATCH] less specific wording --- library/core/src/intrinsics.rs | 3 +-- 1 file changed, 1 insertion(+), 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 @@ pub unsafe fn drop_in_place(to_drop: *mut T) { #[rustc_safe_intrinsic] pub fn assert_zero_valid(); - /// 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")] -- 2.44.0