Remove needless lifetimes

This commit is contained in:
gwenn
2019-02-02 11:08:04 +01:00
parent 62d5ffe678
commit 4c4578851b
5 changed files with 7 additions and 11 deletions

View File

@@ -567,7 +567,7 @@ impl Connection {
///
/// Will return `Err` if `sql` cannot be converted to a C-compatible string
/// or if the underlying SQLite call fails.
pub fn prepare<'a>(&'a self, sql: &str) -> Result<Statement<'a>> {
pub fn prepare(&self, sql: &str) -> Result<Statement<'_>> {
self.db.borrow_mut().prepare(self, sql)
}