diff options
author | Alex Auvolat <alex@adnab.me> | 2022-06-07 18:48:32 +0200 |
---|---|---|
committer | Alex Auvolat <alex@adnab.me> | 2022-06-07 18:48:32 +0200 |
commit | 1e4814568b3be937b7ddc55686a6aa2a34c587f6 (patch) | |
tree | 459c604026821d995b0a3853e6ac480cd83a93a0 /src/model | |
parent | 0c0a02ad03eabceed6f213ac9e380ac20841fc17 (diff) | |
download | garage-1e4814568b3be937b7ddc55686a6aa2a34c587f6.tar.gz garage-1e4814568b3be937b7ddc55686a6aa2a34c587f6.zip |
remove useless clippy allow
Diffstat (limited to 'src/model')
-rw-r--r-- | src/model/s3/block_ref_table.rs | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/model/s3/block_ref_table.rs b/src/model/s3/block_ref_table.rs index 1134922e..9589b4aa 100644 --- a/src/model/s3/block_ref_table.rs +++ b/src/model/s3/block_ref_table.rs @@ -59,7 +59,6 @@ impl TableSchema for BlockRefTable { old: Option<&Self::E>, new: Option<&Self::E>, ) -> db::TxOpResult<()> { - #[allow(clippy::or_fun_call)] let block = old.or(new).unwrap().block; let was_before = old.map(|x| !x.deleted.get()).unwrap_or(false); let is_after = new.map(|x| !x.deleted.get()).unwrap_or(false); |