Skip to content

Commit

Permalink
Running rustfmt
Browse files Browse the repository at this point in the history
  • Loading branch information
Pauan committed Apr 21, 2020
1 parent 4b47959 commit 8451107
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions crates/cli-support/src/js/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2273,16 +2273,13 @@ impl<'a> Context<'a> {
Kind::Import(core) => {
let code = if catch {
format!("handleError(function{})", code)

} else if log_error {
format!("logError(function{})", code)

} else {
format!("function{}", code)
};

self.wasm_import_definitions
.insert(core, code);
self.wasm_import_definitions.insert(core, code);
}
Kind::Adapter => {
assert_eq!(catch, false);
Expand Down

0 comments on commit 8451107

Please sign in to comment.