Skip to content

Commit 3e01901

Browse files
committed
Remove strange formatting in Ordering docs.
1 parent 3750348 commit 3e01901

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/libcore/cmp.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -286,13 +286,13 @@ pub struct AssertParamIsEq<T: Eq + ?Sized> { _field: ::marker::PhantomData<T> }
286286
#[derive(Clone, Copy, PartialEq, Debug, Hash)]
287287
#[stable(feature = "rust1", since = "1.0.0")]
288288
pub enum Ordering {
289-
/// An ordering where a compared value is less [than another].
289+
/// An ordering where a compared value is less than another.
290290
#[stable(feature = "rust1", since = "1.0.0")]
291291
Less = -1,
292-
/// An ordering where a compared value is equal [to another].
292+
/// An ordering where a compared value is equal to another.
293293
#[stable(feature = "rust1", since = "1.0.0")]
294294
Equal = 0,
295-
/// An ordering where a compared value is greater [than another].
295+
/// An ordering where a compared value is greater than another.
296296
#[stable(feature = "rust1", since = "1.0.0")]
297297
Greater = 1,
298298
}

0 commit comments

Comments
 (0)