Skip to content

Commit 2f824ea

Browse files
DiuDiu777thomcc
andauthored
Update library/core/src/intrinsics/mod.rs
Co-authored-by: Thom Chiovoloni <thom@shift.click>
1 parent 6a01990 commit 2f824ea

File tree

1 file changed

+1
-1
lines changed
  • library/core/src/intrinsics

1 file changed

+1
-1
lines changed

library/core/src/intrinsics/mod.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1635,7 +1635,7 @@ pub fn ptr_mask<T>(_ptr: *const T, _mask: usize) -> *const T;
16351635
///
16361636
/// The safety requirements are consistent with [`copy_nonoverlapping`]
16371637
/// while the read and write behaviors are volatile,
1638-
/// which means it will not be optimized out unless size is equal to zero.
1638+
/// which means it will not be optimized out unless `_count` or `size_of::<T>()` is equal to zero.
16391639
///
16401640
/// [`copy_nonoverlapping`]: ptr::copy_nonoverlapping
16411641
#[rustc_intrinsic]

0 commit comments

Comments
 (0)