backend: Add some trailing commas that rustfmt prefers

This commit is contained in:
Nick Fitzgerald 2018-06-22 14:45:09 -07:00
parent 911a32c0d5
commit 21fa3beabd

View File

@ -813,7 +813,7 @@ impl Struct {
ty: field.ty.clone(),
getter: Ident::new(&getter, Span::call_site()),
setter: Ident::new(&setter, Span::call_site()),
comments
comments,
});
}
}
@ -912,7 +912,7 @@ impl BindgenAttrs {
.iter()
.filter_map(|a| match a {
BindgenAttr::StaticMethodOf(c) => Some(c),
_ => None
_ => None,
})
.next()
}