mirror of
https://github.com/rustwasm/wasm-bindgen.git
synced 2024-11-28 05:52:21 +03:00
Remove an unused unsafe block
This commit is contained in:
parent
455e86ef6d
commit
cc11505dc8
@ -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(),
|
||||
)
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user