mirror of
https://github.com/fluencelabs/sqlite-wasm-connector
synced 2025-06-13 23:41:22 +00:00
Get rid of the livetime parameter of Connection
This commit is contained in:
@ -111,6 +111,6 @@ pub type Result<T> = std::result::Result<T, Error>;
|
||||
|
||||
/// Open a connection to a new or existing database.
|
||||
#[inline]
|
||||
pub fn open<'l, T: AsRef<std::path::Path>>(path: T) -> Result<Connection<'l>> {
|
||||
pub fn open<T: AsRef<std::path::Path>>(path: T) -> Result<Connection> {
|
||||
Connection::open(path)
|
||||
}
|
||||
|
Reference in New Issue
Block a user