[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:
parent
2cb91dad9f
commit
ce5b9c662f
1 changed files with 1 additions and 1 deletions
|
@ -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| {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue