Upgrade to rustfmt 0.7.1

This commit is contained in:
Jakob Stoklund Olesen
2017-01-25 15:17:27 -08:00
parent 70957cc7ce
commit 859cca081c
4 changed files with 23 additions and 29 deletions

View File

@@ -66,12 +66,10 @@ impl RegBank {
}
}
}
.and_then(|offset| {
if offset < self.units {
Some(offset + self.first_unit)
} else {
None
}
.and_then(|offset| if offset < self.units {
Some(offset + self.first_unit)
} else {
None
})
}