less specific wording

This commit is contained in:
Ralf Jung 2022-12-21 11:06:20 +01:00 committed by GitHub
parent 8b2a7da3b0
commit 6f21ba4a06
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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")]