Skip to content

Commit

Permalink
Rollup merge of rust-lang#120988 - tshepang:fix-comment, r=cjgillot
Browse files Browse the repository at this point in the history
fix comment
  • Loading branch information
matthiaskrgr authored Feb 13, 2024
2 parents 7427460 + 882396c commit 21d8fb2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compiler/rustc_hir_typeck/src/method/suggest.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1086,7 +1086,7 @@ impl<'a, 'tcx> FnCtxt<'a, 'tcx> {
inherent_impls_candidate.sort();
inherent_impls_candidate.dedup();

// number of type to shows at most.
// number of types to show at most
let limit = if inherent_impls_candidate.len() == 5 { 5 } else { 4 };
let type_candidates = inherent_impls_candidate
.iter()
Expand Down

0 comments on commit 21d8fb2

Please sign in to comment.