[nll] libsyntax_ext: remove unnecessary mut annotation on variable

Pointed out by nll. It is correct that the mut annotation is not needed.
This commit is contained in:
memoryruins 2018-08-09 15:32:23 -04:00
parent 2cb91dad9f
commit ce5b9c662f

View File

@ -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| {