mirror of
https://gitee.com/openharmony/third_party_rust_cxx
synced 2024-11-23 07:10:29 +00:00
Format with rustfmt 2019-10-07
This commit is contained in:
parent
159a9f535c
commit
199d73509b
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user