mirror of
https://github.com/rustwasm/wasm-bindgen.git
synced 2024-12-26 11:34:22 +03:00
Merge pull request #913 from fitzgen/allow-unused-js-sys-object-import
web-sys: allow unused import warning
This commit is contained in:
commit
473258f731
@ -16,6 +16,7 @@
|
|||||||
extern crate js_sys;
|
extern crate js_sys;
|
||||||
extern crate wasm_bindgen;
|
extern crate wasm_bindgen;
|
||||||
|
|
||||||
|
#[allow(unused_imports)]
|
||||||
use js_sys::Object;
|
use js_sys::Object;
|
||||||
|
|
||||||
#[cfg(feature = "Window")]
|
#[cfg(feature = "Window")]
|
||||||
|
Loading…
Reference in New Issue
Block a user