Run rustfmt

This commit is contained in:
Alex Crichton
2019-10-28 20:15:05 -07:00
parent a20dd26dde
commit 513285f73d
13 changed files with 100 additions and 69 deletions

View File

@ -585,11 +585,13 @@ impl<'src> FirstPassRecord<'src> {
// otherwise be marked with catch).
match ret_ty {
IdlType::Nullable(_) => ret_ty,
ref ty @ _ => if catch {
ret_ty
} else {
IdlType::Nullable(Box::new(ty.clone()))
},
ref ty @ _ => {
if catch {
ret_ty
} else {
IdlType::Nullable(Box::new(ty.clone()))
}
}
}
} else {
ret_ty