Skip to content

Commit 0a738d4

Browse files
authored
Rollup merge of #75379 - denisvasilik:intra-docs-links-core-cmp, r=Dylan-DPC
Use intra-doc links in /library/core/src/cmp.rs Helps with #75080. @rustbot modify labels: T-doc, A-intra-doc-links, T-rustdoc Known issues: * Links from `core` to `std` (#74481): * [`Vec::sort_by_key`]
2 parents d00c703 + eea8581 commit 0a738d4

File tree

1 file changed

+2
-8
lines changed

1 file changed

+2
-8
lines changed

library/core/src/cmp.rs

+2-8
Original file line numberDiff line numberDiff line change
@@ -17,14 +17,8 @@
1717
//!
1818
//! For more details, see the respective documentation of each item in the list.
1919
//!
20-
//! [`Eq`]: trait.Eq.html
21-
//! [`PartialEq`]: trait.PartialEq.html
22-
//! [`Ord`]: trait.Ord.html
23-
//! [`PartialOrd`]: trait.PartialOrd.html
24-
//! [`Ordering`]: enum.Ordering.html
25-
//! [`Reverse`]: struct.Reverse.html
26-
//! [`max`]: fn.max.html
27-
//! [`min`]: fn.min.html
20+
//! [`max`]: Ord::max
21+
//! [`min`]: Ord::min
2822
2923
#![stable(feature = "rust1", since = "1.0.0")]
3024

0 commit comments

Comments
 (0)