Skip to content

Commit b98541c

Browse files
committed
fixed typo
1 parent 84101c0 commit b98541c

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
@@ -329,7 +329,7 @@ fn suggest_to_remove_or_use_generic(
329329
return;
330330
};
331331

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

0 commit comments

Comments
 (0)