Skip to content

Commit

Permalink
chore: set rust edition to 2021 (#751)
Browse files Browse the repository at this point in the history
  • Loading branch information
smndtrl authored Feb 22, 2024
1 parent f87eca0 commit e5db9a3
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 4 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ readme = "README.md"
keywords = ["http", "async", "non-blocking"]
categories = ["asynchronous", "web-programming", "network-programming"]
exclude = ["fixtures/**", "ci/**"]
edition = "2018"
edition = "2021"
rust-version = "1.63"

[features]
Expand Down
1 change: 0 additions & 1 deletion examples/akamai.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ use tokio_rustls::TlsConnector;

use tokio_rustls::rustls::{OwnedTrustAnchor, RootCertStore, ServerName};

use std::convert::TryFrom;
use std::error::Error;
use std::net::ToSocketAddrs;

Expand Down
2 changes: 0 additions & 2 deletions src/frame/headers.rs
Original file line number Diff line number Diff line change
Expand Up @@ -972,8 +972,6 @@ fn decoded_header_size(name: usize, value: usize) -> usize {

#[cfg(test)]
mod test {
use std::iter::FromIterator;

use super::*;
use crate::frame;
use crate::hpack::{huffman, Encoder};
Expand Down

0 comments on commit e5db9a3

Please sign in to comment.