diff --git a/src/lib.rs b/src/lib.rs index ee0b818..ac47f47 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -407,8 +407,8 @@ impl> CLruCache(&mut self, key: &Q) -> bool + /// Like `peek`, `contains` does not update the LRU list so the key's position will be unchanged. + pub fn contains(&self, key: &Q) -> bool where K: Borrow, Q: Hash + Eq + ?Sized,