mirror of
https://github.com/fluencelabs/wasm-bindgen
synced 2025-03-28 07:51:07 +00:00
backend: Add some trailing commas that rustfmt prefers
This commit is contained in:
parent
911a32c0d5
commit
21fa3beabd
@ -813,7 +813,7 @@ impl Struct {
|
|||||||
ty: field.ty.clone(),
|
ty: field.ty.clone(),
|
||||||
getter: Ident::new(&getter, Span::call_site()),
|
getter: Ident::new(&getter, Span::call_site()),
|
||||||
setter: Ident::new(&setter, Span::call_site()),
|
setter: Ident::new(&setter, Span::call_site()),
|
||||||
comments
|
comments,
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -912,7 +912,7 @@ impl BindgenAttrs {
|
|||||||
.iter()
|
.iter()
|
||||||
.filter_map(|a| match a {
|
.filter_map(|a| match a {
|
||||||
BindgenAttr::StaticMethodOf(c) => Some(c),
|
BindgenAttr::StaticMethodOf(c) => Some(c),
|
||||||
_ => None
|
_ => None,
|
||||||
})
|
})
|
||||||
.next()
|
.next()
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user