ptr::guaranteed_eq doc typo
This commit is contained in:
parent
7b0bf9efc9
commit
0b81628aba
@ -464,7 +464,7 @@ impl<T: ?Sized> *const T {
|
||||
///
|
||||
/// [`guaranteed_ne`]: #method.guaranteed_ne
|
||||
///
|
||||
/// The return value may change depending on the compiler version and unsafe code might not
|
||||
/// The return value may change depending on the compiler version and unsafe code must not
|
||||
/// rely on the result of this function for soundness. It is suggested to only use this function
|
||||
/// for performance optimizations where spurious `false` return values by this function do not
|
||||
/// affect the outcome, but just the performance.
|
||||
@ -495,7 +495,7 @@ impl<T: ?Sized> *const T {
|
||||
///
|
||||
/// [`guaranteed_eq`]: #method.guaranteed_eq
|
||||
///
|
||||
/// The return value may change depending on the compiler version and unsafe code might not
|
||||
/// The return value may change depending on the compiler version and unsafe code must not
|
||||
/// rely on the result of this function for soundness. It is suggested to only use this function
|
||||
/// for performance optimizations where spurious `false` return values by this function do not
|
||||
/// affect the outcome, but just the performance.
|
||||
|
Loading…
x
Reference in New Issue
Block a user