diff --git a/src/libcore/cmp.rs b/src/libcore/cmp.rs index 58b3db0ad3959..942a236fe9e99 100644 --- a/src/libcore/cmp.rs +++ b/src/libcore/cmp.rs @@ -246,8 +246,8 @@ impl Ordering { } } - /// Chain two orderings. - /// + /// Chain two orderings. + /// /// Returns `self` when it's not `Equal`. Otherwise returns `other`. /// # Examples /// @@ -281,10 +281,10 @@ impl Ordering { } /// Chain the ordering with given function. - /// + /// /// Returns `self` when it's not `Equal`. Otherwise calls `f` and returns /// the result. - /// + /// /// # Examples /// /// ```