mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
Appease clippy
This commit is contained in:
parent
11d0172bf8
commit
305e6e2ede
1 changed files with 1 additions and 1 deletions
|
@ -40,7 +40,7 @@ impl<'t> Txn<'t> {
|
|||
fn get_txn(&self) -> Result<&rusqlite::Transaction<'t>, SqliteError> {
|
||||
self.txn
|
||||
.as_ref()
|
||||
.ok_or_else(|| SqliteError::TransactionAlreadyCommitted)
|
||||
.ok_or(SqliteError::TransactionAlreadyCommitted)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue