We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bde86d3 commit df68acbCopy full SHA for df68acb
wasm/lib/src/vm_class.rs
@@ -288,10 +288,9 @@ impl WASMVirtualMachine {
288
} else if stdout.is_undefined() || stdout.is_null() {
289
Box::new(wasm_builtins::builtin_print_console)
290
} else {
291
- return Err(TypeError::new(
292
- "stdout must be null, a function or a css selector",
293
- )
294
- .into());
+ return Err(
+ TypeError::new("stdout must be null, a function or a css selector").into()
+ );
295
};
296
let rustfunc = vm.ctx.new_rustfunc(print_fn);
297
vm.ctx.set_attr(&vm.builtins, "print", rustfunc);
0 commit comments