File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -30,11 +30,11 @@ pub enum PersistentListMap {
30
30
// Again, only using strange IBlah convention to reflect the Clojure base
31
31
// @TODO really though .. just rethink this
32
32
/// A PersistentListMap.
33
- pub trait IPersistentListMap {
33
+ pub trait IPersistentMap {
34
34
fn get ( & self , key : & Rc < Value > ) -> Rc < Value > ;
35
35
fn assoc ( & self , key : Rc < Value > , value : Rc < Value > ) -> Self ;
36
36
}
37
- impl IPersistentListMap for PersistentListMap {
37
+ impl IPersistentMap for PersistentListMap {
38
38
// @TODO make fn of ILookup
39
39
fn get ( & self , key : & Rc < Value > ) -> Rc < Value > {
40
40
match self {
@@ -52,7 +52,7 @@ impl IPersistentListMap for PersistentListMap {
52
52
}
53
53
}
54
54
55
- impl IPersistentListMap for Rc < PersistentListMap > {
55
+ impl IPersistentMap for Rc < PersistentListMap > {
56
56
// @TODO make fn of ILookup
57
57
fn get ( & self , key : & Rc < Value > ) -> Rc < Value > {
58
58
match & * * self {
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ use crate::persistent_list::{
8
8
PersistentList :: { Cons , Empty } ,
9
9
ToPersistentList , ToPersistentListIter ,
10
10
} ;
11
- use crate :: persistent_list_map:: IPersistentListMap ;
11
+ use crate :: persistent_list_map:: IPersistentMap ;
12
12
use crate :: persistent_vector:: { PersistentVector , ToPersistentVectorIter } ;
13
13
use crate :: symbol:: Symbol ;
14
14
use crate :: type_tag:: TypeTag ;
You can’t perform that action at this time.
0 commit comments