mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-08-21 07:43:08 +02:00
fix another lint
This commit is contained in:
parent
5cf3ce4bc8
commit
ae5afff4f7
1 changed files with 1 additions and 0 deletions
|
@ -106,6 +106,7 @@ pub trait StorageTxn {
|
||||||
fn clear_working_set(&mut self) -> Result<()>;
|
fn clear_working_set(&mut self) -> Result<()>;
|
||||||
|
|
||||||
/// Check whether this storage is entirely empty
|
/// Check whether this storage is entirely empty
|
||||||
|
#[allow(clippy::wrong_self_convention)] // mut is required here for storage access
|
||||||
fn is_empty(&mut self) -> Result<bool> {
|
fn is_empty(&mut self) -> Result<bool> {
|
||||||
let mut empty = true;
|
let mut empty = true;
|
||||||
empty = empty && self.all_tasks()?.is_empty();
|
empty = empty && self.all_tasks()?.is_empty();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue