about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorEric Huss <eric@huss.org>2019-04-09 15:41:38 -0700
committerEric Huss <eric@huss.org>2019-04-09 15:41:38 -0700
commit3e01901fcdbe40ebefe706bf6f460742b9f15d2e (patch)
treedea3350909c37b376d4dd3c99798ea0c923b5905 /src
parent3750348daff89741e3153e0e120aa70a45ff5b68 (diff)
downloadrust-3e01901fcdbe40ebefe706bf6f460742b9f15d2e.tar.gz
rust-3e01901fcdbe40ebefe706bf6f460742b9f15d2e.zip
Remove strange formatting in `Ordering` docs.
Diffstat (limited to 'src')
-rw-r--r--src/libcore/cmp.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/libcore/cmp.rs b/src/libcore/cmp.rs
index 807b35e1af1..14908108fc5 100644
--- a/src/libcore/cmp.rs
+++ b/src/libcore/cmp.rs
@@ -286,13 +286,13 @@ pub struct AssertParamIsEq<T: Eq + ?Sized> { _field: ::marker::PhantomData<T> }
 #[derive(Clone, Copy, PartialEq, Debug, Hash)]
 #[stable(feature = "rust1", since = "1.0.0")]
 pub enum Ordering {
-    /// An ordering where a compared value is less [than another].
+    /// An ordering where a compared value is less than another.
     #[stable(feature = "rust1", since = "1.0.0")]
     Less = -1,
-    /// An ordering where a compared value is equal [to another].
+    /// An ordering where a compared value is equal to another.
     #[stable(feature = "rust1", since = "1.0.0")]
     Equal = 0,
-    /// An ordering where a compared value is greater [than another].
+    /// An ordering where a compared value is greater than another.
     #[stable(feature = "rust1", since = "1.0.0")]
     Greater = 1,
 }