Remove an unused unsafe block

This commit is contained in:
Alex Crichton 2018-04-03 12:53:24 -07:00
parent 455e86ef6d
commit cc11505dc8

View File

@ -170,7 +170,7 @@ impl ToTokens for ast::Struct {
<::wasm_bindgen::JsValue as ::wasm_bindgen::convert::WasmBoundary>
::from_abi(
#new_fn(ptr),
unsafe { &mut ::wasm_bindgen::convert::GlobalStack::new() },
&mut ::wasm_bindgen::convert::GlobalStack::new(),
)
}
}