diff --git a/crates/cracker/src/lib.rs b/crates/cracker/src/lib.rs index 9a79fb4..738183b 100644 --- a/crates/cracker/src/lib.rs +++ b/crates/cracker/src/lib.rs @@ -71,4 +71,9 @@ impl Cache for SimpleCache { } } } + + fn clear(&self) { + let mut hash = self.0.borrow_mut(); + hash.clear(); + } }