diff options
| author | bors <bors@rust-lang.org> | 2020-07-09 21:32:02 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2020-07-09 21:32:02 +0000 |
| commit | e59b08e62ea691916d2f063cac5aab4634128022 (patch) | |
| tree | 7bafe998869c457ebaa9f82179f49c37baf7a551 /src/libcore | |
| parent | 5db778affee7c6600c8e7a177c48282dab3f6292 (diff) | |
| parent | 9353e21bfdea148e910b2530270a3418db836bf3 (diff) | |
Auto merge of #74195 - Manishearth:rollup-h3m0sl8, r=Manishearth
Rollup of 14 pull requests Successful merges: - #73292 (Fixing broken link for the Eq trait) - #73791 (Allow for parentheses after macro intra-doc-links) - #74070 ( Use for<'tcx> fn pointers in Providers, instead of having Providers<'tcx>.) - #74077 (Use relative path for local links to primitives) - #74079 (Eliminate confusing "globals" terminology.) - #74107 (Hide `&mut self` methods from Deref in sidebar if there are no `DerefMut` impl for the type.) - #74136 (Fix broken link in rustdocdoc) - #74137 (Update cargo) - #74142 (Liballoc use vec instead of vector) - #74143 (Try remove unneeded ToString import in liballoc slice) - #74146 (update miri) - #74150 (Avoid "blacklist") - #74184 (Add docs for intra-doc-links) - #74188 (Tweak `::` -> `:` typo heuristic and reduce verbosity) Failed merges: - #74122 (Start-up clean-up) - #74127 (Avoid "whitelist") r? @ghost
Diffstat (limited to 'src/libcore')
| -rw-r--r-- | src/libcore/cmp.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/libcore/cmp.rs b/src/libcore/cmp.rs index 9856efc6bd8..79085740119 100644 --- a/src/libcore/cmp.rs +++ b/src/libcore/cmp.rs @@ -35,7 +35,7 @@ use self::Ordering::*; /// /// This trait allows for partial equality, for types that do not have a full /// equivalence relation. For example, in floating point numbers `NaN != NaN`, -/// so floating point types implement `PartialEq` but not [`Eq`]. +/// so floating point types implement `PartialEq` but not [`Eq`](Eq). /// /// Formally, the equality must be (for all `a`, `b` and `c`): /// @@ -191,7 +191,6 @@ use self::Ordering::*; /// assert_eq!(x.eq(&y), false); /// ``` /// -/// [`Eq`]: Eq /// [`eq`]: PartialEq::eq /// [`ne`]: PartialEq::ne #[lang = "eq"] |
