diff options
Diffstat (limited to 'src/main.rs')
-rw-r--r-- | src/main.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.rs b/src/main.rs index 0c71fbe..b507cbd 100644 --- a/src/main.rs +++ b/src/main.rs @@ -46,7 +46,7 @@ fn repl() -> Result<(), io::Error> { }; match &expression { - SCons(l, r) if **l == Atom(Let) => match scons(expression.clone(), Nil).type_check() { + SCons(l, _) if **l == Atom(Let) => match scons(expression.clone(), Nil).type_check() { Ok(_) => { binds.push(expression); println!("Bind saved"); |