Drop the lifetime parameter of Database

This commit is contained in:
Ivan Ukhov
2015-06-01 11:39:22 -04:00
parent 2cdf79bca0
commit 475fa14c0c
3 changed files with 11 additions and 11 deletions

View File

@ -65,6 +65,6 @@ pub use statement::{Statement, Binding, Value};
/// Open a database.
#[inline]
pub fn open<'l>(path: &std::path::Path) -> Result<Database<'l>> {
pub fn open(path: &std::path::Path) -> Result<Database> {
Database::open(path)
}