Skip to content

Commit ac0027d

Browse files
committed
update comment
1 parent 4c55c83 commit ac0027d

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)