From adce9e04213803bd775538efddf6e7908d1c605e Mon Sep 17 00:00:00 2001
From: Héctor Ramón Jiménez <hector0193@gmail.com>
Date: Wed, 9 Feb 2022 17:53:35 +0700
Subject: Update Rust edition to 2021 :tada:

---
 examples/bezier_tool/Cargo.toml        | 2 +-
 examples/clock/Cargo.toml              | 2 +-
 examples/color_palette/Cargo.toml      | 2 +-
 examples/component/Cargo.toml          | 2 +-
 examples/counter/Cargo.toml            | 2 +-
 examples/custom_widget/Cargo.toml      | 2 +-
 examples/download_progress/Cargo.toml  | 2 +-
 examples/events/Cargo.toml             | 2 +-
 examples/game_of_life/Cargo.toml       | 2 +-
 examples/geometry/Cargo.toml           | 2 +-
 examples/integration_opengl/Cargo.toml | 2 +-
 examples/integration_wgpu/Cargo.toml   | 2 +-
 examples/pane_grid/Cargo.toml          | 2 +-
 examples/pick_list/Cargo.toml          | 2 +-
 examples/pokedex/Cargo.toml            | 2 +-
 examples/progress_bar/Cargo.toml       | 2 +-
 examples/qr_code/Cargo.toml            | 2 +-
 examples/scrollable/Cargo.toml         | 2 +-
 examples/solar_system/Cargo.toml       | 2 +-
 examples/stopwatch/Cargo.toml          | 2 +-
 examples/styling/Cargo.toml            | 2 +-
 examples/svg/Cargo.toml                | 2 +-
 examples/todos/Cargo.toml              | 2 +-
 examples/tooltip/Cargo.toml            | 2 +-
 examples/tour/Cargo.toml               | 2 +-
 examples/url_handler/Cargo.toml        | 4 ++--
 examples/websocket/Cargo.toml          | 2 +-
 27 files changed, 28 insertions(+), 28 deletions(-)

(limited to 'examples')

diff --git a/examples/bezier_tool/Cargo.toml b/examples/bezier_tool/Cargo.toml
index a88975a7..890e3027 100644
--- a/examples/bezier_tool/Cargo.toml
+++ b/examples/bezier_tool/Cargo.toml
@@ -2,7 +2,7 @@
 name = "bezier_tool"
 version = "0.1.0"
 authors = ["Héctor Ramón Jiménez <hector0193@gmail.com>"]
-edition = "2018"
+edition = "2021"
 publish = false
 
 [dependencies]
diff --git a/examples/clock/Cargo.toml b/examples/clock/Cargo.toml
index 29457c0d..5e869eb5 100644
--- a/examples/clock/Cargo.toml
+++ b/examples/clock/Cargo.toml
@@ -2,7 +2,7 @@
 name = "clock"
 version = "0.1.0"
 authors = ["Héctor Ramón Jiménez <hector0193@gmail.com>"]
-edition = "2018"
+edition = "2021"
 publish = false
 
 [dependencies]
diff --git a/examples/color_palette/Cargo.toml b/examples/color_palette/Cargo.toml
index 00f33e20..23670b46 100644
--- a/examples/color_palette/Cargo.toml
+++ b/examples/color_palette/Cargo.toml
@@ -2,7 +2,7 @@
 name = "color_palette"
 version = "0.1.0"
 authors = ["Clark Moody <clark@clarkmoody.com>"]
-edition = "2018"
+edition = "2021"
 publish = false
 
 [dependencies]
diff --git a/examples/component/Cargo.toml b/examples/component/Cargo.toml
index 5761db9f..dd435201 100644
--- a/examples/component/Cargo.toml
+++ b/examples/component/Cargo.toml
@@ -2,7 +2,7 @@
 name = "component"
 version = "0.1.0"
 authors = ["Héctor Ramón Jiménez <hector0193@gmail.com>"]
-edition = "2018"
+edition = "2021"
 publish = false
 
 [dependencies]
diff --git a/examples/counter/Cargo.toml b/examples/counter/Cargo.toml
index a763cd78..e31f440f 100644
--- a/examples/counter/Cargo.toml
+++ b/examples/counter/Cargo.toml
@@ -2,7 +2,7 @@
 name = "counter"
 version = "0.1.0"
 authors = ["Héctor Ramón Jiménez <hector0193@gmail.com>"]
-edition = "2018"
+edition = "2021"
 publish = false
 
 [dependencies]
diff --git a/examples/custom_widget/Cargo.toml b/examples/custom_widget/Cargo.toml
index 86b0d2a9..067aab4a 100644
--- a/examples/custom_widget/Cargo.toml
+++ b/examples/custom_widget/Cargo.toml
@@ -2,7 +2,7 @@
 name = "custom_widget"
 version = "0.1.0"
 authors = ["Héctor Ramón Jiménez <hector0193@gmail.com>"]
-edition = "2018"
+edition = "2021"
 publish = false
 
 [dependencies]
diff --git a/examples/download_progress/Cargo.toml b/examples/download_progress/Cargo.toml
index 5f5eed68..f38679ea 100644
--- a/examples/download_progress/Cargo.toml
+++ b/examples/download_progress/Cargo.toml
@@ -2,7 +2,7 @@
 name = "download_progress"
 version = "0.1.0"
 authors = ["Songtronix <contact@songtronix.com>", "Folyd <lyshuhow@gmail.com>"]
-edition = "2018"
+edition = "2021"
 publish = false
 
 [dependencies]
diff --git a/examples/events/Cargo.toml b/examples/events/Cargo.toml
index f883075f..8ad04a36 100644
--- a/examples/events/Cargo.toml
+++ b/examples/events/Cargo.toml
@@ -2,7 +2,7 @@
 name = "events"
 version = "0.1.0"
 authors = ["Héctor Ramón Jiménez <hector0193@gmail.com>"]
-edition = "2018"
+edition = "2021"
 publish = false
 
 [dependencies]
diff --git a/examples/game_of_life/Cargo.toml b/examples/game_of_life/Cargo.toml
index 9ee307ac..f0a794fb 100644
--- a/examples/game_of_life/Cargo.toml
+++ b/examples/game_of_life/Cargo.toml
@@ -2,7 +2,7 @@
 name = "game_of_life"
 version = "0.1.0"
 authors = ["Héctor Ramón Jiménez <hector0193@gmail.com>"]
-edition = "2018"
+edition = "2021"
 publish = false
 
 [dependencies]
diff --git a/examples/geometry/Cargo.toml b/examples/geometry/Cargo.toml
index 34eec4fb..22ede0e0 100644
--- a/examples/geometry/Cargo.toml
+++ b/examples/geometry/Cargo.toml
@@ -2,7 +2,7 @@
 name = "geometry"
 version = "0.1.0"
 authors = ["Héctor Ramón Jiménez <hector0193@gmail.com>"]
-edition = "2018"
+edition = "2021"
 publish = false
 
 [dependencies]
diff --git a/examples/integration_opengl/Cargo.toml b/examples/integration_opengl/Cargo.toml
index 7fb1f2dd..6dac999c 100644
--- a/examples/integration_opengl/Cargo.toml
+++ b/examples/integration_opengl/Cargo.toml
@@ -2,7 +2,7 @@
 name = "integration_opengl"
 version = "0.1.0"
 authors = ["Héctor Ramón Jiménez <hector0193@gmail.com>"]
-edition = "2018"
+edition = "2021"
 publish = false
 
 [dependencies]
diff --git a/examples/integration_wgpu/Cargo.toml b/examples/integration_wgpu/Cargo.toml
index 0ded1a56..eaa1df7e 100644
--- a/examples/integration_wgpu/Cargo.toml
+++ b/examples/integration_wgpu/Cargo.toml
@@ -2,7 +2,7 @@
 name = "integration_wgpu"
 version = "0.1.0"
 authors = ["Héctor Ramón Jiménez <hector0193@gmail.com>"]
-edition = "2018"
+edition = "2021"
 publish = false
 
 [dependencies]
diff --git a/examples/pane_grid/Cargo.toml b/examples/pane_grid/Cargo.toml
index 03e6cd4a..dfd6dfa9 100644
--- a/examples/pane_grid/Cargo.toml
+++ b/examples/pane_grid/Cargo.toml
@@ -2,7 +2,7 @@
 name = "pane_grid"
 version = "0.1.0"
 authors = ["Héctor Ramón Jiménez <hector0193@gmail.com>"]
-edition = "2018"
+edition = "2021"
 publish = false
 
 [dependencies]
diff --git a/examples/pick_list/Cargo.toml b/examples/pick_list/Cargo.toml
index a87d7217..4aa4603a 100644
--- a/examples/pick_list/Cargo.toml
+++ b/examples/pick_list/Cargo.toml
@@ -2,7 +2,7 @@
 name = "pick_list"
 version = "0.1.0"
 authors = ["Héctor Ramón Jiménez <hector0193@gmail.com>"]
-edition = "2018"
+edition = "2021"
 publish = false
 
 [dependencies]
diff --git a/examples/pokedex/Cargo.toml b/examples/pokedex/Cargo.toml
index c64cc85c..e99fc0c3 100644
--- a/examples/pokedex/Cargo.toml
+++ b/examples/pokedex/Cargo.toml
@@ -2,7 +2,7 @@
 name = "pokedex"
 version = "0.1.0"
 authors = ["Héctor Ramón Jiménez <hector0193@gmail.com>"]
-edition = "2018"
+edition = "2021"
 publish = false
 
 [dependencies]
diff --git a/examples/progress_bar/Cargo.toml b/examples/progress_bar/Cargo.toml
index 4eccbf14..383a9bdd 100644
--- a/examples/progress_bar/Cargo.toml
+++ b/examples/progress_bar/Cargo.toml
@@ -2,7 +2,7 @@
 name = "progress_bar"
 version = "0.1.0"
 authors = ["Héctor Ramón Jiménez <hector0193@gmail.com>"]
-edition = "2018"
+edition = "2021"
 publish = false
 
 [dependencies]
diff --git a/examples/qr_code/Cargo.toml b/examples/qr_code/Cargo.toml
index 7f2d4e42..2f164df6 100644
--- a/examples/qr_code/Cargo.toml
+++ b/examples/qr_code/Cargo.toml
@@ -2,7 +2,7 @@
 name = "qr_code"
 version = "0.1.0"
 authors = ["Héctor Ramón Jiménez <hector0193@gmail.com>"]
-edition = "2018"
+edition = "2021"
 publish = false
 
 [dependencies]
diff --git a/examples/scrollable/Cargo.toml b/examples/scrollable/Cargo.toml
index 08502458..610c13b4 100644
--- a/examples/scrollable/Cargo.toml
+++ b/examples/scrollable/Cargo.toml
@@ -2,7 +2,7 @@
 name = "scrollable"
 version = "0.1.0"
 authors = ["Clark Moody <clark@clarkmoody.com>"]
-edition = "2018"
+edition = "2021"
 publish = false
 
 [dependencies]
diff --git a/examples/solar_system/Cargo.toml b/examples/solar_system/Cargo.toml
index 327fe0aa..835396b0 100644
--- a/examples/solar_system/Cargo.toml
+++ b/examples/solar_system/Cargo.toml
@@ -2,7 +2,7 @@
 name = "solar_system"
 version = "0.1.0"
 authors = ["Héctor Ramón Jiménez <hector0193@gmail.com>"]
-edition = "2018"
+edition = "2021"
 publish = false
 
 [dependencies]
diff --git a/examples/stopwatch/Cargo.toml b/examples/stopwatch/Cargo.toml
index 9f935951..f623feb9 100644
--- a/examples/stopwatch/Cargo.toml
+++ b/examples/stopwatch/Cargo.toml
@@ -2,7 +2,7 @@
 name = "stopwatch"
 version = "0.1.0"
 authors = ["Héctor Ramón Jiménez <hector0193@gmail.com>"]
-edition = "2018"
+edition = "2021"
 publish = false
 
 [dependencies]
diff --git a/examples/styling/Cargo.toml b/examples/styling/Cargo.toml
index eb729f93..f771708c 100644
--- a/examples/styling/Cargo.toml
+++ b/examples/styling/Cargo.toml
@@ -2,7 +2,7 @@
 name = "styling"
 version = "0.1.0"
 authors = ["Héctor Ramón Jiménez <hector0193@gmail.com>"]
-edition = "2018"
+edition = "2021"
 publish = false
 
 [dependencies]
diff --git a/examples/svg/Cargo.toml b/examples/svg/Cargo.toml
index d8f83ac2..f5a6eaa2 100644
--- a/examples/svg/Cargo.toml
+++ b/examples/svg/Cargo.toml
@@ -2,7 +2,7 @@
 name = "svg"
 version = "0.1.0"
 authors = ["Héctor Ramón Jiménez <hector0193@gmail.com>"]
-edition = "2018"
+edition = "2021"
 publish = false
 
 [dependencies]
diff --git a/examples/todos/Cargo.toml b/examples/todos/Cargo.toml
index c8926c33..5781ddef 100644
--- a/examples/todos/Cargo.toml
+++ b/examples/todos/Cargo.toml
@@ -2,7 +2,7 @@
 name = "todos"
 version = "0.1.0"
 authors = ["Héctor Ramón Jiménez <hector0193@gmail.com>"]
-edition = "2018"
+edition = "2021"
 publish = false
 
 [dependencies]
diff --git a/examples/tooltip/Cargo.toml b/examples/tooltip/Cargo.toml
index 1171de00..25840fb4 100644
--- a/examples/tooltip/Cargo.toml
+++ b/examples/tooltip/Cargo.toml
@@ -2,7 +2,7 @@
 name = "tooltip"
 version = "0.1.0"
 authors = ["Yusuf Bera Ertan <y.bera003.06@protonmail.com>"]
-edition = "2018"
+edition = "2021"
 publish = false
 
 [dependencies]
diff --git a/examples/tour/Cargo.toml b/examples/tour/Cargo.toml
index bc7fac11..39e83671 100644
--- a/examples/tour/Cargo.toml
+++ b/examples/tour/Cargo.toml
@@ -2,7 +2,7 @@
 name = "tour"
 version = "0.1.0"
 authors = ["Héctor Ramón Jiménez <hector0193@gmail.com>"]
-edition = "2018"
+edition = "2021"
 publish = false
 
 [dependencies]
diff --git a/examples/url_handler/Cargo.toml b/examples/url_handler/Cargo.toml
index 911b2f25..63c7ec27 100644
--- a/examples/url_handler/Cargo.toml
+++ b/examples/url_handler/Cargo.toml
@@ -2,9 +2,9 @@
 name = "url_handler"
 version = "0.1.0"
 authors = ["Héctor Ramón Jiménez <hector0193@gmail.com>"]
-edition = "2018"
+edition = "2021"
 publish = false
 
 [dependencies]
 iced = { path = "../.." }
-iced_native = { path = "../../native" }
\ No newline at end of file
+iced_native = { path = "../../native" }
diff --git a/examples/websocket/Cargo.toml b/examples/websocket/Cargo.toml
index 6b4d9d10..db131dd7 100644
--- a/examples/websocket/Cargo.toml
+++ b/examples/websocket/Cargo.toml
@@ -2,7 +2,7 @@
 name = "websocket"
 version = "0.1.0"
 authors = ["Héctor Ramón Jiménez <hector0193@gmail.com>"]
-edition = "2018"
+edition = "2021"
 publish = false
 
 [dependencies]
-- 
cgit