We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent db03b58 commit a5b89a0Copy full SHA for a5b89a0
library/core/src/ptr/mod.rs
@@ -883,7 +883,8 @@ pub const unsafe fn read_unaligned<T>(src: *const T) -> T {
883
#[inline]
884
#[stable(feature = "rust1", since = "1.0.0")]
885
pub unsafe fn write<T>(dst: *mut T, src: T) {
886
- // We are calling the intrinsics directly to avoid function calls in the generated code.
+ // We are calling the intrinsics directly to avoid function calls in the generated code
887
+ // as `intrinsics::copy_nonoverlapping` is a wrapper function.
888
extern "rust-intrinsic" {
889
fn copy_nonoverlapping<T>(src: *const T, dst: *mut T, count: usize);
890
}
0 commit comments