Skip to content

Commit 88fff71

Browse files
committed
cargo fmt
1 parent 18f77ce commit 88fff71

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

wasm/lib/src/vm_class.rs

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -272,10 +272,8 @@ impl WASMVirtualMachine {
272272
..
273273
}| {
274274
fn error() -> JsValue {
275-
TypeError::new(
276-
"Unknown stdout option, please pass a function or 'console'",
277-
)
278-
.into()
275+
TypeError::new("Unknown stdout option, please pass a function or 'console'")
276+
.into()
279277
}
280278
let print_fn: Box<Fn(&mut VirtualMachine, PyFuncArgs) -> PyResult> =
281279
if let Some(s) = stdout.as_string() {

0 commit comments

Comments
 (0)