Skip to content

Commit 4e7338a

Browse files
Add missing links on cmp module
1 parent 2d1d4d1 commit 4e7338a

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

src/libcore/cmp.rs

+6-3
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,13 @@
1010

1111
//! Functionality for ordering and comparison.
1212
//!
13-
//! This module defines both `PartialOrd` and `PartialEq` traits which are used
13+
//! This module defines both [`PartialOrd`] and [`PartialEq`] traits which are used
1414
//! by the compiler to implement comparison operators. Rust programs may
15-
//! implement `PartialOrd` to overload the `<`, `<=`, `>`, and `>=` operators,
16-
//! and may implement `PartialEq` to overload the `==` and `!=` operators.
15+
//! implement [`PartialOrd`] to overload the `<`, `<=`, `>`, and `>=` operators,
16+
//! and may implement [`PartialEq`] to overload the `==` and `!=` operators.
17+
//!
18+
//! [`PartialOrd`]: trait.PartialOrd.html
19+
//! [`PartialEq`]: trait.PartialEq.html
1720
//!
1821
//! # Examples
1922
//!

0 commit comments

Comments
 (0)