diff --git a/taskchampion/src/storage/mod.rs b/taskchampion/src/storage/mod.rs index d3d494a1b..dd3c9786a 100644 --- a/taskchampion/src/storage/mod.rs +++ b/taskchampion/src/storage/mod.rs @@ -106,6 +106,7 @@ pub trait StorageTxn { fn clear_working_set(&mut self) -> Result<()>; /// 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 { let mut empty = true; empty = empty && self.all_tasks()?.is_empty();