Update wasm-in-wasm example to the 2018 edition

This commit is contained in:
André Luis Leal Cardoso Junior 2018-12-11 13:18:07 -02:00
parent 00d4c6b5a5
commit a8fb4c3bf8
2 changed files with 1 additions and 3 deletions

View File

@ -2,6 +2,7 @@
name = "wasm-in-wasm"
version = "0.1.0"
authors = ["The wasm-bindgen Developers"]
edition = "2018"
[lib]
crate-type = ["cdylib"]

View File

@ -1,6 +1,3 @@
extern crate js_sys;
extern crate wasm_bindgen;
use js_sys::{Function, Object, Reflect, Uint8Array, WebAssembly};
use wasm_bindgen::prelude::*;
use wasm_bindgen::JsCast;