File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -21,7 +21,6 @@ mod iterable;
2121mod keyword;
2222mod lambda;
2323mod maps;
24- mod meta;
2524mod namespace;
2625mod persistent_vector;
2726mod reader;
Original file line number Diff line number Diff line change @@ -163,7 +163,6 @@ impl Namespace {
163163 . replace_with ( |refers| refers. add_referred_namespaces ( namespaces) ) ;
164164 }
165165
166- //
167166 fn contains_key ( & self , sym : & Symbol ) -> bool {
168167 self . mappings . borrow_mut ( ) . contains_key ( sym)
169168 }
@@ -295,6 +294,7 @@ impl Namespaces {
295294 }
296295 }
297296 }
297+
298298 // TODO write this similar to try_get, and rewrite try_get in terms of this
299299 pub fn get_var ( & self , namespace_sym : & Symbol , sym : & Symbol ) -> Rc < Value > {
300300 // When storing / retrieving from namespaces, we want
Original file line number Diff line number Diff line change @@ -2,7 +2,6 @@ use crate::persistent_list_map::PersistentListMap;
22use crate :: traits;
33use std:: fmt;
44use std:: hash:: { Hash , Hasher } ;
5- use crate :: meta;
65
76#[ derive( Eq , Clone , Debug ) ]
87pub struct Symbol {
@@ -108,7 +107,6 @@ mod tests {
108107 mod symbol_tests {
109108 use crate :: keyword:: Keyword ;
110109 use crate :: maps:: MapEntry ;
111- use crate :: meta;
112110 use crate :: persistent_list_map:: ToPersistentListMapIter ;
113111 use crate :: persistent_list_map:: { PersistentListMap , PersistentListMapIter } ;
114112 use crate :: symbol:: Symbol ;
You can’t perform that action at this time.
0 commit comments