apply clippy lints - wasm, nodejs

This commit is contained in:
freestrings
2019-06-25 23:31:52 +09:00
parent 319186b1d9
commit 9a28faf058
5 changed files with 22 additions and 16 deletions

View File

@ -206,7 +206,7 @@ declare_types! {
{
let guard = ctx.lock();
let mut this = this.borrow_mut(&guard);
let _ = this.path(&path);
this.path(&path);
}
Ok(JsUndefined::new().upcast())
@ -219,7 +219,7 @@ declare_types! {
{
let guard = ctx.lock();
let mut this = this.borrow_mut(&guard);
let _ = this.value(&json_str);
this.value(&json_str);
}
Ok(JsUndefined::new().upcast())