From ae5afff4f7d3a08aac3a671eee7471a34da17196 Mon Sep 17 00:00:00 2001 From: "Dustin J. Mitchell" Date: Wed, 9 Feb 2022 03:20:17 +0000 Subject: [PATCH] fix another lint --- taskchampion/src/storage/mod.rs | 1 + 1 file changed, 1 insertion(+) 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();