diff --git a/examples/no_modules/Cargo.toml b/examples/no_modules/Cargo.toml index 8c1e705c..712667e0 100644 --- a/examples/no_modules/Cargo.toml +++ b/examples/no_modules/Cargo.toml @@ -2,6 +2,7 @@ name = "no_modules" version = "0.1.0" authors = ["The wasm-bindgen Developers"] +edition = "2018" [lib] crate-type = ["cdylib"] diff --git a/examples/no_modules/src/lib.rs b/examples/no_modules/src/lib.rs index 7bed7348..e7388ada 100644 --- a/examples/no_modules/src/lib.rs +++ b/examples/no_modules/src/lib.rs @@ -1,6 +1,3 @@ -extern crate wasm_bindgen; -extern crate web_sys; - use wasm_bindgen::prelude::*; // Called by our JS entry point to run the example