more dupe word typos
This commit is contained in:
parent
4891d57f7a
commit
7122abaddf
47 changed files with 68 additions and 72 deletions
|
@ -867,7 +867,7 @@ impl<T: ?Sized> *mut T {
|
|||
/// units of T: the distance in bytes is divided by `mem::size_of::<T>()`.
|
||||
///
|
||||
/// This computes the same value that [`offset_from`](#method.offset_from)
|
||||
/// would compute, but with the added precondition that that the offset is
|
||||
/// would compute, but with the added precondition that the offset is
|
||||
/// guaranteed to be non-negative. This method is equivalent to
|
||||
/// `usize::from(self.offset_from(origin)).unwrap_unchecked()`,
|
||||
/// but it provides slightly more information to the optimizer, which can
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue