Upgrade to rustfmt 0.6.0.

This commit is contained in:
Jakob Stoklund Olesen
2016-08-30 07:56:12 -07:00
parent fc6cb2eac1
commit 6fc6e35585
6 changed files with 6 additions and 23 deletions

View File

@@ -42,11 +42,7 @@ 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 }
}
}