We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ded6077 commit ce122e5Copy full SHA for ce122e5
1 file changed
src/protocols/ipersistent_map.rs
@@ -22,4 +22,12 @@ impl persistent_list_map::IPersistentMap for IPersistentMap {
22
_ => panic!("Called Iterable iter on non-iterable"),
23
}
24
25
+ fn contains_key(&self,key: &Rc<Value>) -> bool {
26
+ match &*self.value {
27
+ Value::PersistentListMap(plist_map) => {
28
+ plist_map.contains_key(key)
29
+ },
30
+ _ => panic!("Called Iterable iter on non-iterable"),
31
+ }
32
33
0 commit comments