Skip to content

Commit 7276b6c

Browse files
authored
Update cmp.rs
Fixed space
1 parent 7d38181 commit 7276b6c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/core/src/cmp.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -541,7 +541,7 @@ impl Ordering {
541541
/// assert_eq!(result, Ordering::Equal);
542542
///
543543
/// let x: (i64, i64, i64) = (1, 2, 7);
544-
/// let y: (i64, i64, i64) = (1, 5, 3);
544+
/// let y: (i64, i64, i64) = (1, 5, 3);
545545
/// let result = x.0.cmp(&y.0).then_with(|| x.1.cmp(&y.1)).then_with(|| x.2.cmp(&y.2));
546546
///
547547
/// assert_eq!(result, Ordering::Less);

0 commit comments

Comments
 (0)