Skip to content

Commit 90eb95f

Browse files
authored
chore(lib): remove importing prelude trait in 2021 edition (#3546)
1 parent b114244 commit 90eb95f

File tree

4 files changed

+0
-6
lines changed

4 files changed

+0
-6
lines changed

src/ext/h1_reason_phrase.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
use std::convert::TryFrom;
2-
31
use bytes::Bytes;
42

53
/// A reason phrase in an HTTP/1 response.

src/proto/h1/encode.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -436,8 +436,6 @@ impl std::error::Error for NotEof {}
436436

437437
#[cfg(test)]
438438
mod tests {
439-
use std::iter::FromIterator;
440-
441439
use bytes::BufMut;
442440
use http::{
443441
header::{

tests/client.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ use std::convert::Infallible;
55
use std::fmt;
66
use std::future::Future;
77
use std::io::{Read, Write};
8-
use std::iter::FromIterator;
98
use std::net::{SocketAddr, TcpListener};
109
use std::pin::Pin;
1110
use std::thread;

tests/server.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
#![deny(warnings)]
22
#![deny(rust_2018_idioms)]
33

4-
use std::convert::TryInto;
54
use std::future::Future;
65
use std::io::{self, Read, Write};
76
use std::net::TcpListener as StdTcpListener;

0 commit comments

Comments
 (0)