summaryrefslogtreecommitdiff
path: root/src/libcore/cmp.rs
diff options
context:
space:
mode:
authorGuillaume Gomez <guillaume1.gomez@gmail.com>2016-09-26 20:43:54 +0200
committerGuillaume Gomez <guillaume1.gomez@gmail.com>2016-09-26 20:43:54 +0200
commit4e7338afa8d555de9541886ec751edc671ab195b (patch)
tree609d01455170a316066d04ce7920190dd4501459 /src/libcore/cmp.rs
parent2d1d4d199471dbdf0828acbc06cfe452463569af (diff)
downloadrust-4e7338afa8d555de9541886ec751edc671ab195b.tar.gz
Add missing links on cmp module
Diffstat (limited to 'src/libcore/cmp.rs')
-rw-r--r--src/libcore/cmp.rs9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/libcore/cmp.rs b/src/libcore/cmp.rs
index f990a27e52b..036633fe89d 100644
--- a/src/libcore/cmp.rs
+++ b/src/libcore/cmp.rs
@@ -10,10 +10,13 @@
//! Functionality for ordering and comparison.
//!
-//! This module defines both `PartialOrd` and `PartialEq` traits which are used
+//! This module defines both [`PartialOrd`] and [`PartialEq`] traits which are used
//! by the compiler to implement comparison operators. Rust programs may
-//! implement `PartialOrd` to overload the `<`, `<=`, `>`, and `>=` operators,
-//! and may implement `PartialEq` to overload the `==` and `!=` operators.
+//! implement [`PartialOrd`] to overload the `<`, `<=`, `>`, and `>=` operators,
+//! and may implement [`PartialEq`] to overload the `==` and `!=` operators.
+//!
+//! [`PartialOrd`]: trait.PartialOrd.html
+//! [`PartialEq`]: trait.PartialEq.html
//!
//! # Examples
//!