File tree Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -113,7 +113,7 @@ impl Future for GetConn {
113
113
match self . inner {
114
114
GetConnInner :: New => {
115
115
let queue_id = self . queue_id ;
116
- let next = ready ! ( Pin :: new ( self . pool_mut( ) ) . poll_new_conn( cx, queue_id) ) ?;
116
+ let next = ready ! ( self . pool_mut( ) . poll_new_conn( cx, queue_id) ) ?;
117
117
match next {
118
118
GetConnInner :: Connecting ( conn_fut) => {
119
119
self . inner = GetConnInner :: Connecting ( conn_fut) ;
Original file line number Diff line number Diff line change @@ -16,7 +16,6 @@ use std::{
16
16
collections:: VecDeque ,
17
17
convert:: TryFrom ,
18
18
hash:: { Hash , Hasher } ,
19
- pin:: Pin ,
20
19
str:: FromStr ,
21
20
sync:: { atomic, Arc , Mutex } ,
22
21
task:: { Context , Poll , Waker } ,
@@ -286,7 +285,7 @@ impl Pool {
286
285
287
286
/// Poll the pool for an available connection.
288
287
fn poll_new_conn (
289
- self : Pin < & mut Self > ,
288
+ & mut self ,
290
289
cx : & mut Context < ' _ > ,
291
290
queue_id : QueueId ,
292
291
) -> Poll < Result < GetConnInner > > {
You can’t perform that action at this time.
0 commit comments