We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2cb91da commit ce5b9c6Copy full SHA for ce5b9c6
src/libsyntax_ext/deriving/generic/mod.rs
@@ -554,7 +554,7 @@ impl<'a> TraitDef<'a> {
554
GenericParamKind::Type { .. } => {
555
// I don't think this can be moved out of the loop, since
556
// a GenericBound requires an ast id
557
- let mut bounds: Vec<_> =
+ let bounds: Vec<_> =
558
// extra restrictions on the generics parameters to the
559
// type being derived upon
560
self.additional_bounds.iter().map(|p| {
0 commit comments