Skip to content

Commit 01b822b

Browse files
authored
Rollup merge of #82324 - eltociear:patch-9, r=Dylan-DPC
Fix typo in generics.rs paramater -> parameter
2 parents 5d6fc24 + 1d02358 commit 01b822b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/rustc_typeck/src/astconv/generics.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ impl<'o, 'tcx> dyn AstConv<'tcx> + 'o {
8282
if param_type.is_suggestable() {
8383
err.span_suggestion(
8484
tcx.def_span(src_def_id),
85-
"consider changing this type paramater to a `const`-generic",
85+
"consider changing this type parameter to a `const`-generic",
8686
format!("const {}: {}", param_name, param_type),
8787
Applicability::MaybeIncorrect,
8888
);

0 commit comments

Comments
 (0)