File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
crates/core_simd/src/elements Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -61,7 +61,7 @@ pub trait SimdConstPtr: Copy + Sealed {
61
61
62
62
/// Calculates the offset from a pointer using wrapping arithmetic.
63
63
///
64
- /// Equivalent to calling [`pointer::wrapping_add `] on each lane.
64
+ /// Equivalent to calling [`pointer::wrapping_sub `] on each lane.
65
65
fn wrapping_sub ( self , count : Self :: Usize ) -> Self ;
66
66
}
67
67
Original file line number Diff line number Diff line change @@ -58,7 +58,7 @@ pub trait SimdMutPtr: Copy + Sealed {
58
58
59
59
/// Calculates the offset from a pointer using wrapping arithmetic.
60
60
///
61
- /// Equivalent to calling [`pointer::wrapping_add `] on each lane.
61
+ /// Equivalent to calling [`pointer::wrapping_sub `] on each lane.
62
62
fn wrapping_sub ( self , count : Self :: Usize ) -> Self ;
63
63
}
64
64
You can’t perform that action at this time.
0 commit comments