From ac0027d45c1891d56e734b4aa6c3aaa8223a9850 Mon Sep 17 00:00:00 2001 From: lcnr Date: Sat, 5 Feb 2022 10:45:50 +0100 Subject: [PATCH] update comment --- compiler/rustc_builtin_macros/src/deriving/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler/rustc_builtin_macros/src/deriving/mod.rs b/compiler/rustc_builtin_macros/src/deriving/mod.rs index 367a5aa7323..0ca7988ca15 100644 --- a/compiler/rustc_builtin_macros/src/deriving/mod.rs +++ b/compiler/rustc_builtin_macros/src/deriving/mod.rs @@ -134,7 +134,7 @@ fn inject_impl_of_structural_trait( // Create the type of `self`. // - // in addition, remove defaults from type params (impls cannot have them). + // in addition, remove defaults from generic params (impls cannot have them). let self_params: Vec<_> = generics .params .iter_mut()