mirror of
https://github.com/topjohnwu/cxx.git
synced 2025-02-24 10:03:39 +00:00
Format with rustfmt 1.4.22-beta
This commit is contained in:
parent
7907966838
commit
159e712a54
@ -117,7 +117,12 @@ pub(super) fn generate(syntax: File, opt: &Opt) -> Result<GeneratedCode> {
|
||||
for bridge in syntax.modules {
|
||||
let ref namespace = bridge.namespace;
|
||||
let trusted = bridge.unsafety.is_some();
|
||||
apis.extend(syntax::parse_items(errors, bridge.content, trusted, namespace));
|
||||
apis.extend(syntax::parse_items(
|
||||
errors,
|
||||
bridge.content,
|
||||
trusted,
|
||||
namespace,
|
||||
));
|
||||
}
|
||||
|
||||
let ref types = Types::collect(errors, apis);
|
||||
|
Loading…
x
Reference in New Issue
Block a user