]> git.lizzy.rs Git - rust.git/commitdiff
Fix small typo
authorkijima <norimaking777@gmail.com>
Mon, 29 Nov 2021 16:31:10 +0000 (01:31 +0900)
committerkijima <norimaking777@gmail.com>
Mon, 29 Nov 2021 16:31:10 +0000 (01:31 +0900)
compiler/rustc_errors/src/emitter.rs

index d64a589bd9b2a37b1db629e6e10d7112c206ea36..467ba9755f905a86fcbacd0218cef1297e519b7f 100644 (file)
@@ -2083,7 +2083,7 @@ fn num_decimal_digits(num: usize) -> usize {
     ('\t', "    "),   // We do our own tab replacement
     ('\u{200D}', ""), // Replace ZWJ with nothing for consistent terminal output of grapheme clusters.
     ('\u{202A}', ""), // The following unicode text flow control characters are inconsistently
-    ('\u{202B}', ""), // supported accross CLIs and can cause confusion due to the bytes on disk
+    ('\u{202B}', ""), // supported across CLIs and can cause confusion due to the bytes on disk
     ('\u{202D}', ""), // not corresponding to the visible source code, so we replace them always.
     ('\u{202E}', ""),
     ('\u{2066}', ""),