about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--crates/core_simd/src/simd/ptr/const_ptr.rs2
-rw-r--r--crates/core_simd/src/simd/ptr/mut_ptr.rs2
2 files changed, 2 insertions, 2 deletions
diff --git a/crates/core_simd/src/simd/ptr/const_ptr.rs b/crates/core_simd/src/simd/ptr/const_ptr.rs
index 809ea7cf43b..4e09e52f419 100644
--- a/crates/core_simd/src/simd/ptr/const_ptr.rs
+++ b/crates/core_simd/src/simd/ptr/const_ptr.rs
@@ -49,7 +49,7 @@ pub trait SimdConstPtr: Copy + Sealed {
     /// non-zero-sized memory accesses with a no-provenance pointer are UB. No-provenance pointers
     /// are little more than a usize address in disguise.
     ///
-    /// This is different from [`Self::from_exposed_addr`], which creates a pointer that picks up a
+    /// This is different from [`Self::with_exposed_provenance`], which creates a pointer that picks up a
     /// previously exposed provenance.
     ///
     /// Equivalent to calling [`core::ptr::without_provenance`] on each element.
diff --git a/crates/core_simd/src/simd/ptr/mut_ptr.rs b/crates/core_simd/src/simd/ptr/mut_ptr.rs
index f418f90154e..9ddce68aeb3 100644
--- a/crates/core_simd/src/simd/ptr/mut_ptr.rs
+++ b/crates/core_simd/src/simd/ptr/mut_ptr.rs
@@ -46,7 +46,7 @@ pub trait SimdMutPtr: Copy + Sealed {
     /// non-zero-sized memory accesses with a no-provenance pointer are UB. No-provenance pointers
     /// are little more than a usize address in disguise.
     ///
-    /// This is different from [`Self::from_exposed_addr`], which creates a pointer that picks up a
+    /// This is different from [`Self::with_exposed_provenance`], which creates a pointer that picks up a
     /// previously exposed provenance.
     ///
     /// Equivalent to calling [`core::ptr::without_provenance`] on each element.