From 88c8b9059e0d7a1160f770878f1766b6c67981e5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Luis=20Leal=20Cardoso=20Junior?=
 <andrehjr@gmail.com>
Date: Mon, 10 Dec 2018 23:24:47 -0200
Subject: [PATCH] Add edition 2018 to Cargo.toml

---
 examples/add/Cargo.toml         | 1 +
 examples/canvas/Cargo.toml      | 1 +
 examples/char/Cargo.toml        | 1 +
 examples/hello_world/Cargo.toml | 1 +
 4 files changed, 4 insertions(+)

diff --git a/examples/add/Cargo.toml b/examples/add/Cargo.toml
index 3d3d6db5..49c69f59 100644
--- a/examples/add/Cargo.toml
+++ b/examples/add/Cargo.toml
@@ -2,6 +2,7 @@
 name = "add"
 version = "0.1.0"
 authors = ["The wasm-bindgen Developers"]
+edition = "2018"
 
 [lib]
 crate-type = ["cdylib"]
diff --git a/examples/canvas/Cargo.toml b/examples/canvas/Cargo.toml
index 38207c67..e00b88f6 100644
--- a/examples/canvas/Cargo.toml
+++ b/examples/canvas/Cargo.toml
@@ -2,6 +2,7 @@
 name = "canvas"
 version = "0.1.0"
 authors = ["The wasm-bindgen Developers"]
+edition = "2018"
 
 [lib]
 crate-type = ["cdylib"]
diff --git a/examples/char/Cargo.toml b/examples/char/Cargo.toml
index 80e6c10c..41b8089c 100644
--- a/examples/char/Cargo.toml
+++ b/examples/char/Cargo.toml
@@ -2,6 +2,7 @@
 name = "char"
 version = "0.1.0"
 authors = ["The wasm-bindgen Developers"]
+edition = "2018"
 
 [lib]
 crate-type = ["cdylib"]
diff --git a/examples/hello_world/Cargo.toml b/examples/hello_world/Cargo.toml
index 887a0c1a..2a9832d9 100644
--- a/examples/hello_world/Cargo.toml
+++ b/examples/hello_world/Cargo.toml
@@ -2,6 +2,7 @@
 name = "hello_world"
 version = "0.1.0"
 authors = ["The wasm-bindgen Developers"]
+edition = "2018"
 
 [lib]
 crate-type = ["cdylib"]