Skip to content

Commit 1aa032f

Browse files
committed
Add reference to issue for const_intrinsic_copy in ptr::write
1 parent 7de63be commit 1aa032f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/core/src/ptr/mod.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -876,7 +876,7 @@ pub const unsafe fn write<T>(dst: *mut T, src: T) {
876876
// We are calling the intrinsics directly to avoid function calls in the generated code
877877
// as `intrinsics::copy_nonoverlapping` is a wrapper function.
878878
extern "rust-intrinsic" {
879-
#[rustc_const_unstable(feature = "const_intrinsic_copy", issue = "none")]
879+
#[rustc_const_unstable(feature = "const_intrinsic_copy", issue = "80697")]
880880
fn copy_nonoverlapping<T>(src: *const T, dst: *mut T, count: usize);
881881
}
882882

0 commit comments

Comments
 (0)