From e0048be071846a0e45c14b4937bf3a618fe961e3 Mon Sep 17 00:00:00 2001 From: Taiki Endo Date: Sun, 8 Oct 2023 15:12:28 +0900 Subject: [PATCH] Migrate to Rust 2021 (#15) --- Cargo.toml | 2 +- src/lib.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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;