File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -101,7 +101,7 @@ where
101
101
102
102
pub ( crate ) async fn make_pooled < ' a , ' b , F > (
103
103
& ' a self ,
104
- make_pool : F ,
104
+ make_pooled_conn : F ,
105
105
) -> Result < PooledConnection < ' b , M > , RunError < M :: Error > >
106
106
where
107
107
F : Fn ( & ' a Self , Conn < M :: Connection > ) -> PooledConnection < ' b , M > ,
@@ -112,7 +112,7 @@ where
112
112
match locked. pop ( & self . inner . statics ) {
113
113
Some ( ( conn, approvals) ) => {
114
114
self . spawn_replenishing_approvals ( approvals) ;
115
- make_pool ( self , conn)
115
+ make_pooled_conn ( self , conn)
116
116
}
117
117
None => break ,
118
118
}
@@ -140,7 +140,7 @@ where
140
140
} ;
141
141
142
142
match timeout ( self . inner . statics . connection_timeout , rx) . await {
143
- Ok ( Ok ( mut guard) ) => Ok ( make_pool ( self , guard. extract ( ) ) ) ,
143
+ Ok ( Ok ( mut guard) ) => Ok ( make_pooled_conn ( self , guard. extract ( ) ) ) ,
144
144
_ => Err ( RunError :: TimedOut ) ,
145
145
}
146
146
}
You can’t perform that action at this time.
0 commit comments