We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0ff733a commit 40e4997Copy full SHA for 40e4997
compiler/rustc_ast_passes/src/ast_validation.rs
@@ -1578,7 +1578,7 @@ fn deny_equality_constraints(
1578
None => (format!("<{assoc} = {ty}>"), trait_segment.span().shrink_to_hi()),
1579
};
1580
let removal_span = if generics.where_clause.predicates.len() == 1 {
1581
- // We're removing th eonly where bound left, remove the whole thing.
+ // We're removing the only where bound left, remove the whole thing.
1582
generics.where_clause.span
1583
} else {
1584
let mut span = predicate_span;
0 commit comments