mirror of
https://github.com/fluencelabs/wasm-bindgen
synced 2025-06-11 03:51:21 +00:00
web-sys: allow unused import warning
This import is only used if some features get used and it is way easier to just quiet the warning when those features aren't used than to try and `cfg` this import.
This commit is contained in:
@ -16,6 +16,7 @@
|
||||
extern crate js_sys;
|
||||
extern crate wasm_bindgen;
|
||||
|
||||
#[allow(unused_imports)]
|
||||
use js_sys::Object;
|
||||
|
||||
#[cfg(feature = "Window")]
|
||||
|
Reference in New Issue
Block a user