Skip to content

Commit

Permalink
tokio: update stream, util, test to 2021 edition (#5571)
Browse files Browse the repository at this point in the history
  • Loading branch information
tzx committed Mar 21, 2023
1 parent 0c8e824 commit a7bb054
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion tokio-stream/Cargo.toml
Expand Up @@ -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 <team@tokio.rs>"]
license = "MIT"
Expand Down
2 changes: 1 addition & 1 deletion tokio-stream/src/stream_map.rs
Expand Up @@ -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,
{
Expand Down
2 changes: 1 addition & 1 deletion tokio-test/Cargo.toml
Expand Up @@ -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 <team@tokio.rs>"]
license = "MIT"
Expand Down
2 changes: 1 addition & 1 deletion tokio-util/Cargo.toml
Expand Up @@ -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 <team@tokio.rs>"]
license = "MIT"
Expand Down

0 comments on commit a7bb054

Please sign in to comment.