Skip to content

Commit ca76d43

Browse files
committed
Fix comments
1 parent def0b4e commit ca76d43

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/libcore/cmp.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -246,7 +246,7 @@ impl Ordering {
246246
}
247247
}
248248

249-
/// Chain two orderings.
249+
/// Chains two orderings.
250250
///
251251
/// Returns `self` when it's not `Equal`. Otherwise returns `other`.
252252
/// # Examples
@@ -280,7 +280,7 @@ impl Ordering {
280280
}
281281
}
282282

283-
/// Chain the ordering with given function.
283+
/// Chains the ordering with the given function.
284284
///
285285
/// Returns `self` when it's not `Equal`. Otherwise calls `f` and returns
286286
/// the result.

0 commit comments

Comments
 (0)