From eef95871a4a43b7e366c168fc03d316519029c62 Mon Sep 17 00:00:00 2001 From: Eric Seppanen Date: Sat, 9 Jan 2021 22:40:48 -0800 Subject: [PATCH] fix broken link in PartialEq doc PartialEq doc was attempting to link to [`Eq`] but instead we got a link to `eq`. Disambiguate with "trait@Eq". --- library/core/src/cmp.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/core/src/cmp.rs b/library/core/src/cmp.rs index 0c459a820c6..38c6bfb0ef3 100644 --- a/library/core/src/cmp.rs +++ b/library/core/src/cmp.rs @@ -29,7 +29,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 [`trait@Eq`]. /// /// Formally, the equality must be (for all `a`, `b` and `c`): ///