1
0
mirror of https://github.com/fluencelabs/wasm-bindgen synced 2025-06-18 15:31:25 +00:00

Run fmt and clippy

This commit is contained in:
Gus Caplan
2019-05-28 09:52:44 -05:00
parent dfcaabc738
commit 2cc40a27d2
9 changed files with 84 additions and 64 deletions
benchmarks/src
crates
src
tests

@ -249,7 +249,12 @@ impl<'a> Context<'a> {
format!("{}{}\n", export, contents)
} else {
assert_eq!(export_name, definition_name);
format!("{}const {name} = {};\n__exports.{name} = {name};", export, contents, name = export_name)
format!(
"{}const {name} = {};\n__exports.{name} = {name};",
export,
contents,
name = export_name
)
}
}
};
@ -1163,8 +1168,7 @@ impl<'a> Context<'a> {
}}
}});
",
name,
name,
name, name,
));
}