Add in (unsafe and incorrect) impls of Send/Sync that are now required.

This commit is contained in:
Richard Dodd
2019-07-06 16:30:29 +01:00
parent 7fe3dfd4f5
commit 2541507789
5 changed files with 16 additions and 18 deletions

View File

@ -90,7 +90,12 @@ fn bind2() {
#[wasm_bindgen_test]
fn bind3() {
let a_list = list();
let prepended_list = a_list.bind3(&JsValue::NULL, &JsValue::from(2), &JsValue::from(3), &JsValue::from(4));
let prepended_list = a_list.bind3(
&JsValue::NULL,
&JsValue::from(2),
&JsValue::from(3),
&JsValue::from(4),
);
let arr = Array::from(&call_function(&prepended_list));