From e1d11fda9582a65ff87b6846b2d8ee21cc2beccd Mon Sep 17 00:00:00 2001 From: LachezarLechev Date: Wed, 12 Dec 2018 08:11:18 +0100 Subject: [PATCH] [examples] no_modules - port to rust 2018 --- examples/no_modules/Cargo.toml | 1 + examples/no_modules/src/lib.rs | 3 --- 2 files changed, 1 insertion(+), 3 deletions(-) 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