mirror of
https://github.com/rustwasm/wasm-bindgen.git
synced 2024-12-24 18:43:33 +03: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;
|
||||
|
||||
#[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)
|
||||
}
|
||||
"#)
|
||||
|
Loading…
Reference in New Issue
Block a user