Skip to content

Commit

Permalink
Update stream, util, test to 2021 edition
Browse files Browse the repository at this point in the history
  • Loading branch information
tzx committed Mar 21, 2023
1 parent b489acb commit fe57bf6
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions tokio-stream/Cargo.toml
Expand Up @@ -5,8 +5,8 @@ name = "tokio-stream"
# - Update CHANGELOG.md.
# - Create "tokio-stream-0.1.x" git tag.
version = "0.1.12"
edition = "2018"
rust-version = "1.49"
edition = "2021"
rust-version = "1.56"
authors = ["Tokio Contributors <team@tokio.rs>"]
license = "MIT"
repository = "https://github.com/tokio-rs/tokio"
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
4 changes: 2 additions & 2 deletions tokio-test/Cargo.toml
Expand Up @@ -5,8 +5,8 @@ name = "tokio-test"
# - Update CHANGELOG.md.
# - Create "tokio-test-0.4.x" git tag.
version = "0.4.2"
edition = "2018"
rust-version = "1.49"
edition = "2021"
rust-version = "1.56"
authors = ["Tokio Contributors <team@tokio.rs>"]
license = "MIT"
repository = "https://github.com/tokio-rs/tokio"
Expand Down
4 changes: 2 additions & 2 deletions tokio-util/Cargo.toml
Expand Up @@ -5,8 +5,8 @@ name = "tokio-util"
# - Update CHANGELOG.md.
# - Create "tokio-util-0.7.x" git tag.
version = "0.7.7"
edition = "2018"
rust-version = "1.49"
edition = "2021"
rust-version = "1.56"
authors = ["Tokio Contributors <team@tokio.rs>"]
license = "MIT"
repository = "https://github.com/tokio-rs/tokio"
Expand Down

0 comments on commit fe57bf6

Please sign in to comment.