Skip to content

Commit 21d8fb2

Browse files
authoredFeb 13, 2024
Rollup merge of #120988 - tshepang:fix-comment, r=cjgillot
fix comment
2 parents 7427460 + 882396c commit 21d8fb2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎compiler/rustc_hir_typeck/src/method/suggest.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1086,7 +1086,7 @@ impl<'a, 'tcx> FnCtxt<'a, 'tcx> {
10861086
inherent_impls_candidate.sort();
10871087
inherent_impls_candidate.dedup();
10881088

1089-
// number of type to shows at most.
1089+
// number of types to show at most
10901090
let limit = if inherent_impls_candidate.len() == 5 { 5 } else { 4 };
10911091
let type_candidates = inherent_impls_candidate
10921092
.iter()

0 commit comments

Comments
 (0)
Please sign in to comment.