Skip to content

Commit b7f7850

Browse files
authored
Rollup merge of #93672 - lcnr:const-param-defaults-xx, r=matthewjasper
update comment wrt const param defaults after #93669 i looked through all other uses of `GenericParamKind::Const` again to detect if we missed the `default` there as well, but afaict we really only missed lifetime resolution '^^ at least i found an outdated comment :3
2 parents 54ecec9 + ac0027d commit b7f7850

File tree

1 file changed

+1
-1
lines changed
  • compiler/rustc_builtin_macros/src/deriving

1 file changed

+1
-1
lines changed

compiler/rustc_builtin_macros/src/deriving/mod.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ fn inject_impl_of_structural_trait(
134134

135135
// Create the type of `self`.
136136
//
137-
// in addition, remove defaults from type params (impls cannot have them).
137+
// in addition, remove defaults from generic params (impls cannot have them).
138138
let self_params: Vec<_> = generics
139139
.params
140140
.iter_mut()

0 commit comments

Comments
 (0)