about summary refs log tree commit diff
diff options
context:
space:
mode:
authorAshley Mannix <kodraus@hey.com>2021-01-18 21:53:33 +1000
committerGitHub <noreply@github.com>2021-01-18 21:53:33 +1000
commit0654e201957bcb85405731fd9b3603bc3a654ec3 (patch)
tree54c00443a53a71e4bf7abffc904b1d060ac793c2
parente1d70bc6973f791535a5faa124967ece0dbeb2c2 (diff)
parent7276b6c328659b35d5509b905e677918ea67adeb (diff)
downloadrust-0654e201957bcb85405731fd9b3603bc3a654ec3.tar.gz
rust-0654e201957bcb85405731fd9b3603bc3a654ec3.zip
Rollup merge of #81123 - sirh3e:sirh3e-patch-1, r=sfackler
Update cmp.rs

Fixed space
-rw-r--r--library/core/src/cmp.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/core/src/cmp.rs b/library/core/src/cmp.rs
index 38c6bfb0ef3..b983f49eb17 100644
--- a/library/core/src/cmp.rs
+++ b/library/core/src/cmp.rs
@@ -541,7 +541,7 @@ impl Ordering {
     /// assert_eq!(result, Ordering::Equal);
     ///
     /// let x: (i64, i64, i64) = (1, 2, 7);
-    /// let y: (i64, i64, i64)  = (1, 5, 3);
+    /// let y: (i64, i64, i64) = (1, 5, 3);
     /// let result = x.0.cmp(&y.0).then_with(|| x.1.cmp(&y.1)).then_with(|| x.2.cmp(&y.2));
     ///
     /// assert_eq!(result, Ordering::Less);