Rustfmt fixes

This commit is contained in:
Morgan Phillips
2016-08-29 13:17:08 -07:00
parent adde184042
commit 26cd358bd4
5 changed files with 22 additions and 5 deletions

View File

@@ -42,7 +42,11 @@ impl EntityRef for Ebb {
impl Ebb {
/// Create a new EBB reference from its number. This corresponds to the ebbNN representation.
pub fn with_number(n: u32) -> Option<Ebb> {
if n < u32::MAX { Some(Ebb(n)) } else { None }
if n < u32::MAX {
Some(Ebb(n))
} else {
None
}
}
}