Skip to content

Commit 0654e20

Browse files
authored
Rollup merge of #81123 - sirh3e:sirh3e-patch-1, r=sfackler
Update cmp.rs Fixed space
2 parents e1d70bc + 7276b6c commit 0654e20

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/core/src/cmp.rs

+1-1
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)