about summary refs log tree commit diff
path: root/src/libcore
diff options
context:
space:
mode:
authorMarcin Fatyga <marcinf@google.com>2016-10-10 18:54:37 +0200
committerMarcin Fatyga <marcinf@google.com>2016-10-10 18:54:37 +0200
commitca76d43dcb931dc8c0c1fd2a1ea5e68203d341b1 (patch)
tree4121fe119d5ff5e814e27e5b0f88d4dc97468c2f /src/libcore
parentdef0b4ebc8da5cce04bc24881de8c0e6bb13bbe0 (diff)
downloadrust-ca76d43dcb931dc8c0c1fd2a1ea5e68203d341b1.tar.gz
rust-ca76d43dcb931dc8c0c1fd2a1ea5e68203d341b1.zip
Fix comments
Diffstat (limited to 'src/libcore')
-rw-r--r--src/libcore/cmp.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libcore/cmp.rs b/src/libcore/cmp.rs
index 942a236fe9e..07f02b9c685 100644
--- a/src/libcore/cmp.rs
+++ b/src/libcore/cmp.rs
@@ -246,7 +246,7 @@ impl Ordering {
         }
     }
 
-    /// Chain two orderings.
+    /// Chains two orderings.
     ///
     /// Returns `self` when it's not `Equal`. Otherwise returns `other`.
     /// # Examples
@@ -280,7 +280,7 @@ impl Ordering {
         }
     }
 
-    /// Chain the ordering with given function.
+    /// Chains the ordering with the given function.
     ///
     /// Returns `self` when it's not `Equal`. Otherwise calls `f` and returns
     /// the result.