Skip to content

Commit

Permalink
refactor(lib): importing Unpin is not needed in 2021 edition
Browse files Browse the repository at this point in the history
  • Loading branch information
seanmonstar committed Feb 21, 2024
1 parent 00a703a commit a7bdc60
Show file tree
Hide file tree
Showing 6 changed files with 0 additions and 6 deletions.
1 change: 0 additions & 1 deletion src/common/io/rewind.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
use std::marker::Unpin;
use std::pin::Pin;
use std::task::{Context, Poll};
use std::{cmp, io};
Expand Down
1 change: 0 additions & 1 deletion src/proto/h1/io.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ use std::fmt;
#[cfg(feature = "server")]
use std::future::Future;
use std::io::{self, IoSlice};
use std::marker::Unpin;
use std::mem::MaybeUninit;
use std::pin::Pin;
use std::task::{Context, Poll};
Expand Down
1 change: 0 additions & 1 deletion src/proto/h2/server.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
use std::error::Error as StdError;
use std::future::Future;
use std::marker::Unpin;
use std::pin::Pin;
use std::task::{Context, Poll};
use std::time::Duration;
Expand Down
1 change: 0 additions & 1 deletion src/server/conn/http1.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
use std::error::Error as StdError;
use std::fmt;
use std::future::Future;
use std::marker::Unpin;
use std::pin::Pin;
use std::sync::Arc;
use std::task::{Context, Poll};
Expand Down
1 change: 0 additions & 1 deletion src/server/conn/http2.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
use std::error::Error as StdError;
use std::fmt;
use std::future::Future;
use std::marker::Unpin;
use std::pin::Pin;
use std::sync::Arc;
use std::task::{Context, Poll};
Expand Down
1 change: 0 additions & 1 deletion src/upgrade.rs
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@ use std::error::Error as StdError;
use std::fmt;
use std::future::Future;
use std::io;
use std::marker::Unpin;
use std::pin::Pin;
use std::sync::{Arc, Mutex};
use std::task::{Context, Poll};
Expand Down

0 comments on commit a7bdc60

Please sign in to comment.