Skip to content
This repository was archived by the owner on May 28, 2025. It is now read-only.

Commit 3de73e6

Browse files
authored
Unrolled build for rust-lang#120988
Rollup merge of rust-lang#120988 - tshepang:fix-comment, r=cjgillot fix comment
2 parents 09d73fa + 882396c commit 3de73e6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/rustc_hir_typeck/src/method/suggest.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1092,7 +1092,7 @@ impl<'a, 'tcx> FnCtxt<'a, 'tcx> {
10921092
inherent_impls_candidate.sort();
10931093
inherent_impls_candidate.dedup();
10941094

1095-
// number of type to shows at most.
1095+
// number of types to show at most
10961096
let limit = if inherent_impls_candidate.len() == 5 { 5 } else { 4 };
10971097
let type_candidates = inherent_impls_candidate
10981098
.iter()

0 commit comments

Comments
 (0)