aboutsummaryrefslogtreecommitdiff
path: root/src/sexp/util.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/sexp/util.rs')
-rw-r--r--src/sexp/util.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sexp/util.rs b/src/sexp/util.rs
index a4e3ab4..c31358f 100644
--- a/src/sexp/util.rs
+++ b/src/sexp/util.rs
@@ -22,6 +22,6 @@ impl From<i32> for SLeaf {
}
}
-pub fn sexp(x: impl Into<Box<SExp>>, y: impl Into<Box<SExp>>) -> SExp {
+pub fn scons(x: impl Into<Box<SExp>>, y: impl Into<Box<SExp>>) -> SExp {
SCons(x.into(), y.into())
}