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 6d196cb commit bbce6e5Copy full SHA for bbce6e5
1 file changed
compiler/rustc_hir_analysis/src/impl_wf_check.rs
@@ -328,7 +328,7 @@ fn suggest_to_remove_or_use_generic(
328
return;
329
};
330
331
- // Count how many slots are defined in the struct defintion
+ // Count how many slots are defined in the struct definition
332
let generics = tcx.generics_of(struct_def_id);
333
let total_slots = generics
334
.own_params
0 commit comments