about summary refs log tree commit diff
path: root/compiler/rustc_parse/src
diff options
context:
space:
mode:
authorLaurențiu Nicola <lnicola@dend.ro>2024-10-29 08:13:34 +0200
committerLaurențiu Nicola <lnicola@dend.ro>2024-10-29 08:13:34 +0200
commit772d1383f7c5ad2af087c5e409f55bf60f702254 (patch)
tree96e75912f27b58dca0562f9e4f5f050c25024580 /compiler/rustc_parse/src
parent4b27980870eefce0928d03530fe4fb326230435d (diff)
parenta9d17627d241645a54c1134a20f1596127fedb60 (diff)
downloadrust-772d1383f7c5ad2af087c5e409f55bf60f702254.tar.gz
rust-772d1383f7c5ad2af087c5e409f55bf60f702254.zip
Merge from rust-lang/rust
Diffstat (limited to 'compiler/rustc_parse/src')
-rw-r--r--compiler/rustc_parse/src/lexer/diagnostics.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_parse/src/lexer/diagnostics.rs b/compiler/rustc_parse/src/lexer/diagnostics.rs
index 41108c91f2e..e1f19beb53a 100644
--- a/compiler/rustc_parse/src/lexer/diagnostics.rs
+++ b/compiler/rustc_parse/src/lexer/diagnostics.rs
@@ -85,7 +85,7 @@ pub(super) fn report_suspicious_mismatch_block(
         }
     }
 
-    // Find the inner-most span candidate for final report
+    // Find the innermost span candidate for final report
     let candidate_span =
         matched_spans.into_iter().rev().find(|&(_, same_ident)| !same_ident).map(|(span, _)| span);