diff --git a/examples/webaudio/Cargo.toml b/examples/webaudio/Cargo.toml index 23a4abbc7..1d71c198e 100644 --- a/examples/webaudio/Cargo.toml +++ b/examples/webaudio/Cargo.toml @@ -2,6 +2,7 @@ name = "webaudio" version = "0.1.0" authors = ["The wasm-bindgen Developers"] +edition = "2018" [lib] crate-type = ["cdylib"] diff --git a/examples/webaudio/src/lib.rs b/examples/webaudio/src/lib.rs index 0926ef211..c4f847944 100644 --- a/examples/webaudio/src/lib.rs +++ b/examples/webaudio/src/lib.rs @@ -1,6 +1,3 @@ -extern crate wasm_bindgen; -extern crate web_sys; - use wasm_bindgen::prelude::*; use web_sys::{AudioContext, OscillatorType};