Apply suggestions from code review

Co-authored-by: Jacob Lifshay <programmerjake@gmail.com>
This commit is contained in:
Caleb Zulawski 2022-09-18 22:47:34 -04:00
parent a79718ffa8
commit 078cb58e76
2 changed files with 2 additions and 2 deletions

View File

@ -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;
}

View File

@ -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;
}