Merge pull request #3487 from phansch/fix_fmt

Fix rustfmt format
This commit is contained in:
Philipp Hansch 2018-12-03 07:44:43 +01:00 committed by GitHub
commit a6f4cf7740
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -280,7 +280,7 @@ impl<'tcx> mir::visit::Visitor<'tcx> for LocalUseVisitor {
fn visit_local(&mut self, local: &mir::Local, ctx: PlaceContext<'tcx>, _: mir::Location) {
match ctx {
PlaceContext::MutatingUse(MutatingUseContext::Drop) | PlaceContext::NonUse(NonUseContext::StorageDead) => {
return
return;
},
_ => {},
}