diff --git a/Cargo.toml b/Cargo.toml index 991c018..c495758 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -5,7 +5,7 @@ name = "easy-parallel" # - Create "v3.x.y" git tag version = "3.3.1" authors = ["Stjepan Glavina "] -edition = "2018" +edition = "2021" rust-version = "1.63" description = "Run closures in parallel" license = "Apache-2.0 OR MIT" diff --git a/src/lib.rs b/src/lib.rs index e77c8dc..35a820c 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -66,7 +66,7 @@ )] use std::fmt; -use std::iter::{self, FromIterator}; +use std::iter; use std::panic; use std::sync::mpsc; use std::thread;