diff options
| author | memoryruins <memoryruinsmusic@gmail.com> | 2018-08-09 15:32:23 -0400 |
|---|---|---|
| committer | memoryruins <memoryruinsmusic@gmail.com> | 2018-08-09 15:32:23 -0400 |
| commit | ce5b9c662f2ee203fb08c6a07f0a3f059f1697f4 (patch) | |
| tree | 6af2c1b515756ced7d36627d803cccdc98b6ed51 /src/libsyntax_ext | |
| parent | 2cb91dad9fa5b2c82cf29828a727fde3f40507d3 (diff) | |
| download | rust-ce5b9c662f2ee203fb08c6a07f0a3f059f1697f4.tar.gz rust-ce5b9c662f2ee203fb08c6a07f0a3f059f1697f4.zip | |
[nll] libsyntax_ext: remove unnecessary mut annotation on variable
Pointed out by nll. It is correct that the mut annotation is not needed.
Diffstat (limited to 'src/libsyntax_ext')
| -rw-r--r-- | src/libsyntax_ext/deriving/generic/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsyntax_ext/deriving/generic/mod.rs b/src/libsyntax_ext/deriving/generic/mod.rs index e0f985c26c7..f5e607fc23d 100644 --- a/src/libsyntax_ext/deriving/generic/mod.rs +++ b/src/libsyntax_ext/deriving/generic/mod.rs @@ -554,7 +554,7 @@ impl<'a> TraitDef<'a> { GenericParamKind::Type { .. } => { // I don't think this can be moved out of the loop, since // a GenericBound requires an ast id - let mut bounds: Vec<_> = + let bounds: Vec<_> = // extra restrictions on the generics parameters to the // type being derived upon self.additional_bounds.iter().map(|p| { |
