File tree Expand file tree Collapse file tree 1 file changed +3
-7
lines changed
Expand file tree Collapse file tree 1 file changed +3
-7
lines changed Original file line number Diff line number Diff line change @@ -273,13 +273,9 @@ pub trait CustomizeConnection<C: Send + 'static, E: 'static>:
273273 /// Called with connections immediately after they are returned from
274274 /// `ManageConnection::connect`.
275275 ///
276- /// The default implementation simply returns `Ok(())`.
277- ///
278- /// # Errors
279- ///
280- /// If this method returns an error, the connection will be discarded.
281- #[ allow( unused_variables) ]
282- async fn on_acquire ( & self , connection : & mut C ) -> Result < ( ) , E > {
276+ /// The default implementation simply returns `Ok(())`. If this method returns an
277+ /// error, it will be forwarded to the configured error sink.
278+ async fn on_acquire ( & self , _connection : & mut C ) -> Result < ( ) , E > {
283279 Ok ( ( ) )
284280 }
285281}
You can’t perform that action at this time.
0 commit comments