Skip to content

Commit 14ae03d

Browse files
committed
Fix docs
1 parent 6c68152 commit 14ae03d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

crates/core_simd/src/simd/ptr/const_ptr.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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.

crates/core_simd/src/simd/ptr/mut_ptr.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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.

0 commit comments

Comments
 (0)