Skip to content

Commit 1bcfe35

Browse files
Update compiler/rustc_trait_selection/src/traits/select/mod.rs
Co-authored-by: Michael Goulet <[email protected]>
1 parent caed2da commit 1bcfe35

File tree

1 file changed

+1
-1
lines changed
  • compiler/rustc_trait_selection/src/traits/select

1 file changed

+1
-1
lines changed

compiler/rustc_trait_selection/src/traits/select/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1781,7 +1781,7 @@ impl<'tcx> SelectionContext<'_, 'tcx> {
17811781
}
17821782

17831783
// Before we consider where-bounds, we have to deduplicate them here and also
1784-
// dropwhere-bounds in case the same where-bound exists without bound vars.
1784+
// drop where-bounds in case the same where-bound exists without bound vars.
17851785
// This is necessary as elaborating super-trait bounds may result in duplicates.
17861786
'search_victim: loop {
17871787
for (i, this) in candidates.iter().enumerate() {

0 commit comments

Comments
 (0)