From 0c0a02ad03eabceed6f213ac9e380ac20841fc17 Mon Sep 17 00:00:00 2001 From: Alex Auvolat Date: Tue, 7 Jun 2022 18:36:13 +0200 Subject: [PATCH] Remove useless function --- src/model/index_counter.rs | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/src/model/index_counter.rs b/src/model/index_counter.rs index 48f616f7..2602d5d9 100644 --- a/src/model/index_counter.rs +++ b/src/model/index_counter.rs @@ -116,16 +116,6 @@ impl TableSchema for CounterTable { type E = CounterEntry; type Filter = (DeletedFilter, Vec); - fn updated( - &self, - _tx: &mut db::Transaction, - _old: Option<&Self::E>, - _new: Option<&Self::E>, - ) -> db::TxOpResult<()> { - // nothing for now - Ok(()) - } - fn matches_filter(entry: &Self::E, filter: &Self::Filter) -> bool { if filter.0 == DeletedFilter::Any { return true;