]> git.lizzy.rs Git - rust.git/commitdiff
less specific wording
authorRalf Jung <post@ralfj.de>
Wed, 21 Dec 2022 10:06:20 +0000 (11:06 +0100)
committerGitHub <noreply@github.com>
Wed, 21 Dec 2022 10:06:20 +0000 (11:06 +0100)
library/core/src/intrinsics.rs

index ed58a7f1799350507542bbc1534f9be4296dd81b..a521905a9e735b37296ef50bd906a30fe5eb7779 100644 (file)
@@ -959,8 +959,7 @@ pub unsafe fn drop_in_place<T: ?Sized>(to_drop: *mut T) {
     #[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")]