Skip to content

Commit

Permalink
less specific wording
Browse files Browse the repository at this point in the history
  • Loading branch information
RalfJung authored Dec 21, 2022
1 parent 8b2a7da commit 6f21ba4
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions library/core/src/intrinsics.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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")]
Expand Down

0 comments on commit 6f21ba4

Please sign in to comment.