diff options
| author | Steve Klabnik <steve@steveklabnik.com> | 2016-09-30 13:44:47 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2016-09-30 13:44:47 -0400 |
| commit | 083af27779018f6374c6778efac85d654a4b1fe6 (patch) | |
| tree | 373fd407a93916ca05a72526aced1a6b962ca26d /src/libcore | |
| parent | 431c037b947d6ebb1ce998a787b75404ff3f1f9f (diff) | |
| parent | 4e7338afa8d555de9541886ec751edc671ab195b (diff) | |
Rollup merge of #36750 - GuillaumeGomez:cmp_doc, r=steveklabnik
Add missing links on cmp module r? @steveklabnik
Diffstat (limited to 'src/libcore')
| -rw-r--r-- | src/libcore/cmp.rs | 9 |
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 //! |
