File tree 2 files changed +2
-2
lines changed
2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -518,7 +518,7 @@ impl<T: ?Sized> *const T {
518
518
}
519
519
520
520
/// Calculates the distance between two pointers. The returned value is in
521
- /// units of T: the distance in bytes is divided by `mem::size_of::<T>()`.
521
+ /// units of T: the distance in bytes divided by `mem::size_of::<T>()`.
522
522
///
523
523
/// This function is the inverse of [`offset`].
524
524
///
Original file line number Diff line number Diff line change @@ -696,7 +696,7 @@ impl<T: ?Sized> *mut T {
696
696
}
697
697
698
698
/// Calculates the distance between two pointers. The returned value is in
699
- /// units of T: the distance in bytes is divided by `mem::size_of::<T>()`.
699
+ /// units of T: the distance in bytes divided by `mem::size_of::<T>()`.
700
700
///
701
701
/// This function is the inverse of [`offset`].
702
702
///
You can’t perform that action at this time.
0 commit comments