about summary refs log tree commit diff
path: root/src/libcore/slice
diff options
context:
space:
mode:
authorHavvy (Ryan Scheel) <ryan.havvy@gmail.com>2018-09-10 15:38:37 -0700
committerHavvy (Ryan Scheel) <ryan.havvy@gmail.com>2018-10-05 17:41:43 -0700
commit99bed21101ef098393c9e6c8eb64f21892dbc8be (patch)
treea89c1fb09ae3ab4390e5eecf00e8c2595172074c /src/libcore/slice
parentb911dba40b441a65d8566e2013256612a15d27a4 (diff)
downloadrust-99bed21101ef098393c9e6c8eb64f21892dbc8be.tar.gz
rust-99bed21101ef098393c9e6c8eb64f21892dbc8be.zip
Linkify types in docs
Diffstat (limited to 'src/libcore/slice')
-rw-r--r--src/libcore/slice/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libcore/slice/mod.rs b/src/libcore/slice/mod.rs
index f6695d876f8..a9d76376c07 100644
--- a/src/libcore/slice/mod.rs
+++ b/src/libcore/slice/mod.rs
@@ -1346,7 +1346,7 @@ impl<T> [T] {
     /// * total and antisymmetric: exactly one of a < b, a == b or a > b is true; and
     /// * transitive, a < b and b < c implies a < c. The same must hold for both == and >.
     ///
-    /// For example, while `f64` doesn't implement `Ord` because `NaN != NaN`, we can use
+    /// For example, while [`f64`] doesn't implement [`Ord`] because `NaN != NaN`, we can use
     /// `partial_cmp` as our sort function when we know the slice doesn't contain a `NaN`.
     ///
     /// ```