Format with rustfmt 2019-10-07

This commit is contained in:
David Tolnay 2020-01-20 18:40:10 -08:00
parent 159a9f535c
commit 199d73509b
No known key found for this signature in database
GPG Key ID: F9BA143B95FF6D82

View File

@ -23,7 +23,9 @@ pub fn bridge(namespace: &Namespace, ffi: ItemMod) -> Result<TokenStream> {
if let Api::RustType(ety) = api {
expanded.extend(expand_rust_type(ety));
if !has_rust_type {
hidden.extend(quote!(const fn __assert_sized<T>() {}));
hidden.extend(quote!(
const fn __assert_sized<T>() {}
));
has_rust_type = true;
}
let ident = &ety.ident;