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:
Nick Fitzgerald 2018-10-01 09:53:03 -07:00
parent 62c5699f48
commit 0a48d2bc29

View File

@ -16,6 +16,7 @@
extern crate js_sys;
extern crate wasm_bindgen;
#[allow(unused_imports)]
use js_sys::Object;
#[cfg(feature = "Window")]