about summary refs log tree commit diff
path: root/compiler/rustc_errors
diff options
context:
space:
mode:
authorYuki Okushi <jtitor@2k36.org>2021-11-30 17:29:10 +0900
committerGitHub <noreply@github.com>2021-11-30 17:29:10 +0900
commit56c838cdc73f9c5ab200ca0146b0eb52095f3cab (patch)
tree834baa5bfa9393b0b7b912c3ef2faef9482f8a61 /compiler/rustc_errors
parenta940c680355ab5ba59705603837939f4deabf56c (diff)
parent3c42a11895224c0e8c1b37ea0ba77adc03ed2f63 (diff)
downloadrust-56c838cdc73f9c5ab200ca0146b0eb52095f3cab.tar.gz
rust-56c838cdc73f9c5ab200ca0146b0eb52095f3cab.zip
Rollup merge of #91358 - kd-collective:fix_typo, r=cjgillot
Fix small typo

Fix a typo in code commenting!
`accross` -> `across`
Diffstat (limited to 'compiler/rustc_errors')
-rw-r--r--compiler/rustc_errors/src/emitter.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_errors/src/emitter.rs b/compiler/rustc_errors/src/emitter.rs
index c04246a5022..3104bc185e7 100644
--- a/compiler/rustc_errors/src/emitter.rs
+++ b/compiler/rustc_errors/src/emitter.rs
@@ -2094,7 +2094,7 @@ const OUTPUT_REPLACEMENTS: &[(char, &str)] = &[
     ('\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}', ""),