Format with rustfmt 1.4.22-beta

This commit is contained in:
David Tolnay 2020-11-01 12:35:44 -08:00
parent 7907966838
commit 159e712a54
No known key found for this signature in database
GPG Key ID: F9BA143B95FF6D82

View File

@ -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);