Skip to content

Commit df68acb

Browse files
committed
cargo fmt
1 parent bde86d3 commit df68acb

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

wasm/lib/src/vm_class.rs

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -288,10 +288,9 @@ impl WASMVirtualMachine {
288288
} else if stdout.is_undefined() || stdout.is_null() {
289289
Box::new(wasm_builtins::builtin_print_console)
290290
} else {
291-
return Err(TypeError::new(
292-
"stdout must be null, a function or a css selector",
293-
)
294-
.into());
291+
return Err(
292+
TypeError::new("stdout must be null, a function or a css selector").into()
293+
);
295294
};
296295
let rustfunc = vm.ctx.new_rustfunc(print_fn);
297296
vm.ctx.set_attr(&vm.builtins, "print", rustfunc);

0 commit comments

Comments
 (0)