aboutsummaryrefslogtreecommitdiff
path: root/src/sexp
diff options
context:
space:
mode:
authorJoel Kronqvist <joel.kronqvist@iki.fi>2025-08-17 13:09:19 +0300
committerJoel Kronqvist <joel.kronqvist@iki.fi>2025-08-17 13:09:19 +0300
commita1ac176dd77ff9acaf62de825c24e3cdbd3bcdaa (patch)
tree55f6248dd71f33cd731d3b67722432fb26df7259 /src/sexp
parent3309cad8c27471f6e3c48a6ecea836ee3f9a3d7e (diff)
downloadmyslip-a1ac176dd77ff9acaf62de825c24e3cdbd3bcdaa.tar.gz
myslip-a1ac176dd77ff9acaf62de825c24e3cdbd3bcdaa.zip
fix: changed type of (() T) from (T ...) to (Vector (T ...))
this makes the type of the empty vector consistent with the runtime behavior and prevents weirdly typed expressions such as (vector (() Int)) : (Vector (Int ...)). removed an unused import in case.rs and changed a unused pattern variable to an underscore in conversion.rs.
Diffstat (limited to 'src/sexp')
-rw-r--r--src/sexp/case.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sexp/case.rs b/src/sexp/case.rs
index 0c3d82d..4c2c7ba 100644
--- a/src/sexp/case.rs
+++ b/src/sexp/case.rs
@@ -1,5 +1,5 @@
-use crate::sexp::{SExp, SLeaf, SExp::*, SLeaf::*, util::*};
+use crate::sexp::{SExp, SLeaf, SExp::*, SLeaf::*};
impl SExp {
/**