1+ use crate :: clojure_std;
12use crate :: namespace:: { Namespace , Namespaces } ;
2- use crate :: repl;
33use crate :: repl:: Repl ;
44use crate :: rust_core;
5- use crate :: clojure_std;
65use crate :: symbol:: Symbol ;
76use crate :: value:: { ToValue , Value } ;
87
@@ -118,12 +117,15 @@ impl Environment {
118117 environment. insert ( Symbol :: intern ( "eval" ) , eval_fn. to_rc_value ( ) ) ;
119118
120119 // Thread namespace TODO / instead of _
121- environment. insert ( Symbol :: intern ( "Thread_sleep" ) , thread_sleep_fn. to_rc_value ( ) ) ;
120+ environment. insert (
121+ Symbol :: intern ( "Thread_sleep" ) ,
122+ thread_sleep_fn. to_rc_value ( ) ,
123+ ) ;
122124
123125 environment. insert ( Symbol :: intern ( "System_nanotime" ) , nanotime_fn. to_rc_value ( ) ) ;
124126
125127 // core.clj wraps calls to the rust implementations
126- // @TODO add this to clojure.rs.core namespace as clojure.rs.core/slurp
128+ // @TODO add this to clojure.rs.core namespace as clojure.rs.core/slurp
127129 environment. insert ( Symbol :: intern ( "rust-slurp" ) , slurp_fn. to_rc_value ( ) ) ;
128130
129131 environment. insert ( Symbol :: intern ( "+" ) , add_fn. to_rc_value ( ) ) ;
@@ -141,7 +143,7 @@ impl Environment {
141143 lexical_eval_fn. to_rc_value ( ) ,
142144 ) ;
143145 environment. insert ( Symbol :: intern ( "nth" ) , nth_fn. to_rc_value ( ) ) ;
144- environment. insert ( Symbol :: intern ( "assoc" ) , assoc_fn. to_rc_value ( ) ) ;
146+ environment. insert ( Symbol :: intern ( "assoc" ) , assoc_fn. to_rc_value ( ) ) ;
145147 environment. insert ( Symbol :: intern ( "concat" ) , concat_fn. to_rc_value ( ) ) ;
146148 environment. insert (
147149 Symbol :: intern ( "print-string" ) ,
0 commit comments