about summary refs log tree commit diff
path: root/compiler/rustc_errors/src
diff options
context:
space:
mode:
authorGuillaume Gomez <guillaume.gomez@huawei.com>2022-10-08 14:42:38 +0200
committerGuillaume Gomez <guillaume1.gomez@gmail.com>2022-10-10 18:28:29 +0200
commit3416fa1882a9ea5b4d7c32b62afccbe9d01fb79a (patch)
treea50e257f68cd8d421909320e5a1c9ca378884d02 /compiler/rustc_errors/src
parentd9570e0510c87d4e7ba938005e506eb5cc7fc91b (diff)
downloadrust-3416fa1882a9ea5b4d7c32b62afccbe9d01fb79a.tar.gz
rust-3416fa1882a9ea5b4d7c32b62afccbe9d01fb79a.zip
Fix doc lint error
Diffstat (limited to 'compiler/rustc_errors/src')
-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 94a493992e5..2f6686f8196 100644
--- a/compiler/rustc_errors/src/lib.rs
+++ b/compiler/rustc_errors/src/lib.rs
@@ -411,7 +411,7 @@ struct HandlerInner {
     /// would be unnecessary repetition.
     taught_diagnostics: FxHashSet<DiagnosticId>,
 
-    /// Used to suggest rustc --explain <error code>
+    /// Used to suggest rustc --explain `<error code>`
     emitted_diagnostic_codes: FxIndexSet<DiagnosticId>,
 
     /// This set contains a hash of every diagnostic that has been emitted by