1
Fork 0

Update library/core/src/intrinsics/mod.rs

Co-authored-by: Thom Chiovoloni <thom@shift.click>
This commit is contained in:
ClearLove 2025-03-13 11:33:55 +08:00 committed by GitHub
parent 48a54d026d
commit d2ff65807c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -3213,7 +3213,7 @@ pub const fn is_val_statically_known<T: Copy>(_arg: T) -> bool {
/// * The region of memory beginning at `x` must *not* overlap with the region of memory
/// beginning at `y`.
///
/// * The memory pointed by `x` and `y` must contain correct value of type `T`.
/// * The memory pointed by `x` and `y` must both contain values of type `T`.
///
/// [valid]: crate::ptr#safety
#[rustc_nounwind]