File tree 2 files changed +2
-2
lines changed
crates/core_simd/src/simd/ptr
2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -49,7 +49,7 @@ pub trait SimdConstPtr: Copy + Sealed {
49
49
/// non-zero-sized memory accesses with a no-provenance pointer are UB. No-provenance pointers
50
50
/// are little more than a usize address in disguise.
51
51
///
52
- /// This is different from [`Self::from_exposed_addr `], which creates a pointer that picks up a
52
+ /// This is different from [`Self::with_exposed_provenance `], which creates a pointer that picks up a
53
53
/// previously exposed provenance.
54
54
///
55
55
/// Equivalent to calling [`core::ptr::without_provenance`] on each element.
Original file line number Diff line number Diff line change @@ -46,7 +46,7 @@ pub trait SimdMutPtr: Copy + Sealed {
46
46
/// non-zero-sized memory accesses with a no-provenance pointer are UB. No-provenance pointers
47
47
/// are little more than a usize address in disguise.
48
48
///
49
- /// This is different from [`Self::from_exposed_addr `], which creates a pointer that picks up a
49
+ /// This is different from [`Self::with_exposed_provenance `], which creates a pointer that picks up a
50
50
/// previously exposed provenance.
51
51
///
52
52
/// Equivalent to calling [`core::ptr::without_provenance`] on each element.
You can’t perform that action at this time.
0 commit comments