tokio: update stream, util, test to 2021 edition (#5571)

This commit is contained in:
Timmy Xiao
2023-03-21 17:36:40 +00:00
committed by GitHub
parent 0c8e8248f8
commit a7bb054414
4 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -5,7 +5,7 @@ name = "tokio-stream"
# - Update CHANGELOG.md.
# - Create "tokio-stream-0.1.x" git tag.
version = "0.1.12"
edition = "2018"
edition = "2021"
rust-version = "1.56"
authors = ["Tokio Contributors <[email protected]>"]
license = "MIT"
+1 -1
View File
@@ -568,7 +568,7 @@ where
}
}
impl<K, V> std::iter::FromIterator<(K, V)> for StreamMap<K, V>
impl<K, V> FromIterator<(K, V)> for StreamMap<K, V>
where
K: Hash + Eq,
{
+1 -1
View File
@@ -5,7 +5,7 @@ name = "tokio-test"
# - Update CHANGELOG.md.
# - Create "tokio-test-0.4.x" git tag.
version = "0.4.2"
edition = "2018"
edition = "2021"
rust-version = "1.56"
authors = ["Tokio Contributors <[email protected]>"]
license = "MIT"
+1 -1
View File
@@ -5,7 +5,7 @@ name = "tokio-util"
# - Update CHANGELOG.md.
# - Create "tokio-util-0.7.x" git tag.
version = "0.7.7"
edition = "2018"
edition = "2021"
rust-version = "1.56"
authors = ["Tokio Contributors <[email protected]>"]
license = "MIT"