Clippy things

This commit is contained in:
dbr 2021-05-28 20:41:03 +10:00
parent 0f6323e2de
commit 7c665c9a77
2 changed files with 7 additions and 2 deletions

View file

@ -50,7 +50,7 @@ pub struct LocalServer {
}
impl LocalServer {
fn txn<'a>(&'a mut self) -> anyhow::Result<rusqlite::Transaction> {
fn txn(&mut self) -> anyhow::Result<rusqlite::Transaction> {
let txn = self.con.transaction()?;
Ok(txn)
}