File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
crates/core_simd/src/simd/ptr Expand file tree Collapse file tree 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 {
4949 /// non-zero-sized memory accesses with a no-provenance pointer are UB. No-provenance pointers
5050 /// are little more than a usize address in disguise.
5151 ///
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
5353 /// previously exposed provenance.
5454 ///
5555 /// 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 {
4646 /// non-zero-sized memory accesses with a no-provenance pointer are UB. No-provenance pointers
4747 /// are little more than a usize address in disguise.
4848 ///
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
5050 /// previously exposed provenance.
5151 ///
5252 /// Equivalent to calling [`core::ptr::without_provenance`] on each element.
You can’t perform that action at this time.
0 commit comments