From f260462c32f25d34778c7702392061da2b497abb Mon Sep 17 00:00:00 2001 From: Denis Vasilik Date: Mon, 10 Aug 2020 23:14:43 +0200 Subject: [PATCH 1/2] Remove links that are in scope --- library/core/src/cmp.rs | 6 ------ 1 file changed, 6 deletions(-) diff --git a/library/core/src/cmp.rs b/library/core/src/cmp.rs index 79085740119bd..a61ad087ffbff 100644 --- a/library/core/src/cmp.rs +++ b/library/core/src/cmp.rs @@ -17,12 +17,6 @@ //! //! For more details, see the respective documentation of each item in the list. //! -//! [`Eq`]: trait.Eq.html -//! [`PartialEq`]: trait.PartialEq.html -//! [`Ord`]: trait.Ord.html -//! [`PartialOrd`]: trait.PartialOrd.html -//! [`Ordering`]: enum.Ordering.html -//! [`Reverse`]: struct.Reverse.html //! [`max`]: fn.max.html //! [`min`]: fn.min.html From eea85814e18f7558bc28c6bdc804d6e31d3c456e Mon Sep 17 00:00:00 2001 From: Denis Vasilik Date: Mon, 10 Aug 2020 23:16:01 +0200 Subject: [PATCH 2/2] Use intra-doc links --- library/core/src/cmp.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/library/core/src/cmp.rs b/library/core/src/cmp.rs index a61ad087ffbff..e775ded60f593 100644 --- a/library/core/src/cmp.rs +++ b/library/core/src/cmp.rs @@ -17,8 +17,8 @@ //! //! For more details, see the respective documentation of each item in the list. //! -//! [`max`]: fn.max.html -//! [`min`]: fn.min.html +//! [`max`]: Ord::max +//! [`min`]: Ord::min #![stable(feature = "rust1", since = "1.0.0")]