Skip to content

Commit

Permalink
Ran clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael-F-Bryan committed Dec 1, 2022
1 parent d54fd05 commit 450fde1
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
Binary file modified pkg/wasmer_wasi_js_bg.wasm
Binary file not shown.
2 changes: 1 addition & 1 deletion src/fs.rs
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ impl MemFS {
}

pub fn from_js(jso: JsValue) -> Result<MemFS, JsValue> {
Ok(MemFS::downcast_js(jso)?.clone())
MemFS::downcast_js(jso)
}

#[wasm_bindgen(js_name = readDir)]
Expand Down
2 changes: 1 addition & 1 deletion src/wasi.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
use crate::fs::MemFS;
use js_sys::{Object, Reflect};

use std::io::{Read, Write};
use wasm_bindgen::prelude::*;
use wasm_bindgen::JsCast;
Expand Down

0 comments on commit 450fde1

Please sign in to comment.