File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -30,11 +30,11 @@ pub enum PersistentListMap {
3030// Again, only using strange IBlah convention to reflect the Clojure base
3131// @TODO really though .. just rethink this
3232/// A PersistentListMap.
33- pub trait IPersistentListMap {
33+ pub trait IPersistentMap {
3434 fn get ( & self , key : & Rc < Value > ) -> Rc < Value > ;
3535 fn assoc ( & self , key : Rc < Value > , value : Rc < Value > ) -> Self ;
3636}
37- impl IPersistentListMap for PersistentListMap {
37+ impl IPersistentMap for PersistentListMap {
3838 // @TODO make fn of ILookup
3939 fn get ( & self , key : & Rc < Value > ) -> Rc < Value > {
4040 match self {
@@ -52,7 +52,7 @@ impl IPersistentListMap for PersistentListMap {
5252 }
5353}
5454
55- impl IPersistentListMap for Rc < PersistentListMap > {
55+ impl IPersistentMap for Rc < PersistentListMap > {
5656 // @TODO make fn of ILookup
5757 fn get ( & self , key : & Rc < Value > ) -> Rc < Value > {
5858 match & * * self {
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ use crate::persistent_list::{
88 PersistentList :: { Cons , Empty } ,
99 ToPersistentList , ToPersistentListIter ,
1010} ;
11- use crate :: persistent_list_map:: IPersistentListMap ;
11+ use crate :: persistent_list_map:: IPersistentMap ;
1212use crate :: persistent_vector:: { PersistentVector , ToPersistentVectorIter } ;
1313use crate :: symbol:: Symbol ;
1414use crate :: type_tag:: TypeTag ;
You can’t perform that action at this time.
0 commit comments