Get rid of the livetime parameter of Connection

This commit is contained in:
Ivan Ukhov
2015-08-01 15:14:10 -04:00
parent ff3c62b4db
commit 18ea605451
2 changed files with 8 additions and 8 deletions

View File

@ -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)
}