Apply suggestions from code review
Co-authored-by: Jacob Lifshay <programmerjake@gmail.com>
This commit is contained in:
parent
a79718ffa8
commit
078cb58e76
@ -61,7 +61,7 @@ pub trait SimdConstPtr: Copy + Sealed {
|
||||
|
||||
/// Calculates the offset from a pointer using wrapping arithmetic.
|
||||
///
|
||||
/// Equivalent to calling [`pointer::wrapping_add`] on each lane.
|
||||
/// Equivalent to calling [`pointer::wrapping_sub`] on each lane.
|
||||
fn wrapping_sub(self, count: Self::Usize) -> Self;
|
||||
}
|
||||
|
||||
|
@ -58,7 +58,7 @@ pub trait SimdMutPtr: Copy + Sealed {
|
||||
|
||||
/// Calculates the offset from a pointer using wrapping arithmetic.
|
||||
///
|
||||
/// Equivalent to calling [`pointer::wrapping_add`] on each lane.
|
||||
/// Equivalent to calling [`pointer::wrapping_sub`] on each lane.
|
||||
fn wrapping_sub(self, count: Self::Usize) -> Self;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user