Skip to content

Commit ce5b9c6

Browse files
committed
[nll] libsyntax_ext: remove unnecessary mut annotation on variable
Pointed out by nll. It is correct that the mut annotation is not needed.
1 parent 2cb91da commit ce5b9c6

File tree

1 file changed

+1
-1
lines changed
  • src/libsyntax_ext/deriving/generic

1 file changed

+1
-1
lines changed

src/libsyntax_ext/deriving/generic/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -554,7 +554,7 @@ impl<'a> TraitDef<'a> {
554554
GenericParamKind::Type { .. } => {
555555
// I don't think this can be moved out of the loop, since
556556
// a GenericBound requires an ast id
557-
let mut bounds: Vec<_> =
557+
let bounds: Vec<_> =
558558
// extra restrictions on the generics parameters to the
559559
// type being derived upon
560560
self.additional_bounds.iter().map(|p| {

0 commit comments

Comments
 (0)