Migrate to Rust 2021 (#15)

This commit is contained in:
Taiki Endo 2023-10-08 15:12:28 +09:00 committed by GitHub
parent c5a8fab56f
commit e0048be071
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -5,7 +5,7 @@ name = "easy-parallel"
# - Create "v3.x.y" git tag
version = "3.3.1"
authors = ["Stjepan Glavina <stjepang@gmail.com>"]
edition = "2018"
edition = "2021"
rust-version = "1.63"
description = "Run closures in parallel"
license = "Apache-2.0 OR MIT"

View File

@ -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;