aboutsummaryrefslogtreecommitdiff
path: root/src/model/key_table.rs
diff options
context:
space:
mode:
authorTrinity Pointard <trinity.pointard@gmail.com>2021-04-07 13:39:34 +0200
committerAlex Auvolat <alex@adnab.me>2021-04-27 16:49:07 +0200
commit2812a027ea5a8ac0de22aedce9552c2420c07019 (patch)
tree6ab505b1f5e5d43907c77fcb324df3f9718239ac /src/model/key_table.rs
parent74373aebcfdfcf5c03e4fb6510d8dd664a0b9b88 (diff)
downloadgarage-2812a027ea5a8ac0de22aedce9552c2420c07019.tar.gz
garage-2812a027ea5a8ac0de22aedce9552c2420c07019.zip
change some more comments and revert changes on TableSchema
Diffstat (limited to 'src/model/key_table.rs')
-rw-r--r--src/model/key_table.rs4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/model/key_table.rs b/src/model/key_table.rs
index e1dcd7f4..578f8683 100644
--- a/src/model/key_table.rs
+++ b/src/model/key_table.rs
@@ -125,10 +125,6 @@ impl TableSchema for KeyTable {
type E = Key;
type Filter = KeyFilter;
- fn updated(&self, _old: Option<Self::E>, _new: Option<Self::E>) {
- // nothing to do when updated
- }
-
fn matches_filter(entry: &Self::E, filter: &Self::Filter) -> bool {
match filter {
KeyFilter::Deleted(df) => df.apply(entry.deleted.get()),