Fixed missed error in WeakMap::set

This commit is contained in:
Dimitrii Nemkov 2018-06-27 00:20:36 +05:00
parent a6c7b4b69f
commit ec8ed3a48d

View File

@ -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)
}
"#)