Miner code formatting
This commit is contained in:
parent
9daf546b77
commit
0cee527869
1 changed files with 1 additions and 4 deletions
|
@ -137,10 +137,7 @@ impl<'b, 'a, 'tcx> Gatherer<'b, 'a, 'tcx> {
|
|||
self.loc,
|
||||
InteriorOfSliceOrArray {
|
||||
ty: place_ty,
|
||||
is_index: match elem {
|
||||
ProjectionElem::Index(..) => true,
|
||||
_ => false,
|
||||
},
|
||||
is_index: matches!(elem, ProjectionElem::Index(..))
|
||||
},
|
||||
));
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue