about summary refs log tree commit diff
path: root/compiler/rustc_errors
diff options
context:
space:
mode:
authorklensy <klensy@users.noreply.github.com>2021-04-19 15:57:08 +0300
committerklensy <klensy@users.noreply.github.com>2021-04-19 15:57:08 +0300
commitf43ee8ebf696eec5a8a844629e4f7e910f9f0afd (patch)
treebf829ad19f0402dd8c1148d5df4d6c1edce87923 /compiler/rustc_errors
parent62652865b6029b4776a7c03efa13a37b15c9b953 (diff)
downloadrust-f43ee8ebf696eec5a8a844629e4f7e910f9f0afd.tar.gz
rust-f43ee8ebf696eec5a8a844629e4f7e910f9f0afd.zip
fix few typos
Diffstat (limited to 'compiler/rustc_errors')
-rw-r--r--compiler/rustc_errors/src/lib.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_errors/src/lib.rs b/compiler/rustc_errors/src/lib.rs
index 0d1f55a6b00..f1a31f0d4f5 100644
--- a/compiler/rustc_errors/src/lib.rs
+++ b/compiler/rustc_errors/src/lib.rs
@@ -321,7 +321,7 @@ struct HandlerInner {
 
     /// This set contains the `DiagnosticId` of all emitted diagnostics to avoid
     /// emitting the same diagnostic with extended help (`--teach`) twice, which
-    /// would be uneccessary repetition.
+    /// would be unnecessary repetition.
     taught_diagnostics: FxHashSet<DiagnosticId>,
 
     /// Used to suggest rustc --explain <error code>