From a500ed2c3c6e8f8cd595260b54e18589279c5edb Mon Sep 17 00:00:00 2001 From: KatanaFluorescent <60199077+KatanaFluorescent@users.noreply.github.com> Date: Fri, 1 Jul 2022 16:49:36 +0200 Subject: [PATCH] change edition to 2021 in exercices.rs workaround for this issue https://github.com/rust-lang/rustlings/issues/1022 --- src/exercise.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/exercise.rs b/src/exercise.rs index 6e49a9a..4be3a2c 100644 --- a/src/exercise.rs +++ b/src/exercise.rs @@ -121,7 +121,7 @@ impl Exercise { r#"[package] name = "{}" version = "0.0.1" -edition = "2018" +edition = "2021" [[bin]] name = "{}" path = "{}.rs""#,