Skip to content

Commit bbce6e5

Browse files
committed
fixed typo
1 parent 6d196cb commit bbce6e5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

compiler/rustc_hir_analysis/src/impl_wf_check.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -328,7 +328,7 @@ fn suggest_to_remove_or_use_generic(
328328
return;
329329
};
330330

331-
// Count how many slots are defined in the struct defintion
331+
// Count how many slots are defined in the struct definition
332332
let generics = tcx.generics_of(struct_def_id);
333333
let total_slots = generics
334334
.own_params

0 commit comments

Comments
 (0)