"innermost", "outermost", "leftmost", and "rightmost" don't need hyphens
These are all standard dictionary words and don't require hyphenation.
This commit is contained in:
parent
9abfcb4900
commit
ecdc2441b6
19 changed files with 45 additions and 45 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue