Merge pull request #913 from fitzgen/allow-unused-js-sys-object-import

web-sys: allow unused import warning
This commit is contained in:
Alex Crichton 2018-10-01 10:06:41 -07:00 committed by GitHub
commit 473258f731
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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")]