We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 86b8572 commit 0ef5879Copy full SHA for 0ef5879
sqlx-core/src/any/options.rs
@@ -1,7 +1,6 @@
1
use crate::any::AnyConnection;
2
use crate::connection::{ConnectOptions, LogSettings};
3
use crate::error::Error;
4
-use futures_core::future::BoxFuture;
5
use log::LevelFilter;
6
use std::str::FromStr;
7
use std::time::Duration;
sqlx-core/src/connection.rs
@@ -149,9 +149,9 @@ pub trait Connection: Send {
149
150
151
/// Establish a new database connection with the provided options.
152
- fn connect_with<'a>(options: &'a Self::Options) -> BoxFuture<'_, Result<Self, Error>>
+ fn connect_with(options: &Self::Options) -> BoxFuture<'_, Result<Self, Error>>
153
where
154
- Self: Sized + 'a,
+ Self: Sized
155
{
156
Box::pin(options.connect())
157
}
0 commit comments