Update README.md sample code to 2018 edition

This commit is contained in:
Nick Fitzgerald
2019-05-21 19:22:34 -07:00
committed by GitHub
parent 9b04fe9e45
commit 5233139b31

View File

@ -12,7 +12,6 @@
Import JavaScript things into Rust and export Rust things to JavaScript.
```rust
extern crate wasm_bindgen;
use wasm_bindgen::prelude::*;
// Import the `window.alert` function from the Web.