diff --git a/Cargo.toml b/Cargo.toml index 748c960..d74d808 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -3,7 +3,7 @@ name = "the-fall" version = "0.0.1" authors = ["Leandro Lisboa Penz "] build = "build.rs" -edition = "2021" +edition = "2018" [lib] doctest = false diff --git a/src/input.rs b/src/input.rs index 312325c..fc237be 100644 --- a/src/input.rs +++ b/src/input.rs @@ -2,6 +2,7 @@ // This file is subject to the terms and conditions defined in // file 'LICENSE', which is part of this source code package. +use std::convert::{TryFrom, TryInto}; use std::io; use std::str::FromStr; diff --git a/tests/episode1.rs b/tests/episode1.rs index e266d12..4b5e979 100644 --- a/tests/episode1.rs +++ b/tests/episode1.rs @@ -2,6 +2,7 @@ // This file is subject to the terms and conditions defined in // file 'LICENSE', which is part of this source code package. +use std::convert::TryFrom; use std::iter; use anyhow::Result;