about summary refs log tree commit diff
path: root/compiler/rustc_resolve/src
diff options
context:
space:
mode:
authorest31 <MTest31@outlook.com>2023-03-03 04:15:15 +0100
committerest31 <MTest31@outlook.com>2023-03-03 08:39:00 +0100
commit6df5ae4fb03734dd98db01a9f488998b1d4498ab (patch)
treed5c0058297d36c2e830ad316af52183c0e423792 /compiler/rustc_resolve/src
parentff2c609d662f0ffae9aafa6ff9f60441473e958e (diff)
downloadrust-6df5ae4fb03734dd98db01a9f488998b1d4498ab.tar.gz
rust-6df5ae4fb03734dd98db01a9f488998b1d4498ab.zip
Match unmatched backticks in comments in compiler/
Diffstat (limited to 'compiler/rustc_resolve/src')
-rw-r--r--compiler/rustc_resolve/src/late/diagnostics.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_resolve/src/late/diagnostics.rs b/compiler/rustc_resolve/src/late/diagnostics.rs
index 36415936bdc..b8ddc455257 100644
--- a/compiler/rustc_resolve/src/late/diagnostics.rs
+++ b/compiler/rustc_resolve/src/late/diagnostics.rs
@@ -878,7 +878,7 @@ impl<'a: 'ast, 'ast, 'tcx> LateResolutionVisitor<'a, '_, 'ast, 'tcx> {
         );
         let is_assoc_fn = self.self_type_is_available();
         if let Some((fn_kind, span)) = &self.diagnostic_metadata.current_function {
-            // The current function has a `self' parameter, but we were unable to resolve
+            // The current function has a `self` parameter, but we were unable to resolve
             // a reference to `self`. This can only happen if the `self` identifier we
             // are resolving came from a different hygiene context.
             if fn_kind.decl().inputs.get(0).map_or(false, |p| p.is_self()) {