We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d82ca34 commit 07bc770Copy full SHA for 07bc770
src/environment.rs
@@ -527,11 +527,7 @@ mod tests {
527
curr_ns_sym: _,
528
namespaces,
529
}) => namespaces
530
- .0
531
- .borrow()
532
- .get(&Symbol::intern("user"))
533
- .unwrap()
534
- .get(&Symbol::intern("+")),
+ .get(&Symbol::intern("user"),&Symbol::intern("+")),
535
_ => panic!("new_main_environment() should return Main"),
536
};
537
src/namespace.rs
@@ -30,7 +30,7 @@ impl Namespace {
30
}
31
32
#[derive(Debug, Clone)]
33
-pub struct Namespaces(pub RefCell<HashMap<Symbol, Namespace>>);
+pub struct Namespaces(RefCell<HashMap<Symbol, Namespace>>);
34
35
impl Namespaces {
36
pub fn new() -> Namespaces {
0 commit comments