mirror of
https://github.com/fluencelabs/wasm-bindgen
synced 2025-04-16 18:32:13 +00:00
Fixed missed error in WeakMap::set
This commit is contained in:
parent
a6c7b4b69f
commit
ec8ed3a48d
@ -72,7 +72,7 @@ fn set() {
|
|||||||
use wasm_bindgen::js;
|
use wasm_bindgen::js;
|
||||||
|
|
||||||
#[wasm_bindgen]
|
#[wasm_bindgen]
|
||||||
pub fn set_value(this: &js::WeakMap, key: js::Object, value: js::JsValue) -> js::WeakMap {
|
pub fn set_value(this: &js::WeakMap, key: js::Object, value: JsValue) -> js::WeakMap {
|
||||||
this.set(key, value)
|
this.set(key, value)
|
||||||
}
|
}
|
||||||
"#)
|
"#)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user