aboutsummaryrefslogtreecommitdiff
path: root/src/sexp
diff options
context:
space:
mode:
Diffstat (limited to 'src/sexp')
-rw-r--r--src/sexp/case.rs2
-rw-r--r--src/sexp/step.rs3
2 files changed, 2 insertions, 3 deletions
diff --git a/src/sexp/case.rs b/src/sexp/case.rs
index d78f7ad..40310e4 100644
--- a/src/sexp/case.rs
+++ b/src/sexp/case.rs
@@ -1,5 +1,5 @@
-use crate::sexp::{SExp, SExp::*, SLeaf::*, util::*};
+use crate::sexp::{SExp, SExp::*, SLeaf::*};
impl SExp {
/**
diff --git a/src/sexp/step.rs b/src/sexp/step.rs
index bae47a5..d35c8af 100644
--- a/src/sexp/step.rs
+++ b/src/sexp/step.rs
@@ -368,7 +368,6 @@ impl SExp {
let (scrutinee, patarms) = scons(op, l).check_case().unwrap();
if !scrutinee.is_value() {
return Ok(SExp::back_to_case(scrutinee.step()?, patarms));
- // return scons(Case, scons(scrutinee.step()?))
}
let scrutinee = match scrutinee {
@@ -646,7 +645,7 @@ impl SExp {
},
// Nil in list
- SCons(op, l) if *op == Atom(Nil) => {
+ SCons(op, _) if *op == Atom(Nil) => {
Ok(scons(Vector, Nil))
},