Skip to content

Commit a7bb054

Browse files
authored
tokio: update stream, util, test to 2021 edition (#5571)
1 parent 0c8e824 commit a7bb054

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

tokio-stream/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ name = "tokio-stream"
55
# - Update CHANGELOG.md.
66
# - Create "tokio-stream-0.1.x" git tag.
77
version = "0.1.12"
8-
edition = "2018"
8+
edition = "2021"
99
rust-version = "1.56"
1010
authors = ["Tokio Contributors <[email protected]>"]
1111
license = "MIT"

tokio-stream/src/stream_map.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -568,7 +568,7 @@ where
568568
}
569569
}
570570

571-
impl<K, V> std::iter::FromIterator<(K, V)> for StreamMap<K, V>
571+
impl<K, V> FromIterator<(K, V)> for StreamMap<K, V>
572572
where
573573
K: Hash + Eq,
574574
{

tokio-test/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ name = "tokio-test"
55
# - Update CHANGELOG.md.
66
# - Create "tokio-test-0.4.x" git tag.
77
version = "0.4.2"
8-
edition = "2018"
8+
edition = "2021"
99
rust-version = "1.56"
1010
authors = ["Tokio Contributors <[email protected]>"]
1111
license = "MIT"

tokio-util/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ name = "tokio-util"
55
# - Update CHANGELOG.md.
66
# - Create "tokio-util-0.7.x" git tag.
77
version = "0.7.7"
8-
edition = "2018"
8+
edition = "2021"
99
rust-version = "1.56"
1010
authors = ["Tokio Contributors <[email protected]>"]
1111
license = "MIT"

0 commit comments

Comments
 (0)