mirror of
https://github.com/isar/rusqlite.git
synced 2025-10-20 23:43:56 +08:00
Remove needless lifetimes
This commit is contained in:
@@ -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)
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user