Clean up the busy callback

This commit is contained in:
Ivan Ukhov
2015-06-08 14:52:13 -04:00
parent fd9cf2b2d2
commit a5c0234aa1
2 changed files with 26 additions and 21 deletions

View File

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