From e2cd078cb16834256439ac775cb8cf1e17679181 Mon Sep 17 00:00:00 2001 From: Greg Brown Date: Wed, 25 Nov 2020 15:45:32 +0000 Subject: Add substitution. --- src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/main.rs') diff --git a/src/main.rs b/src/main.rs index 0d4ab99..c180302 100644 --- a/src/main.rs +++ b/src/main.rs @@ -21,7 +21,7 @@ fn main() { .and_then(|_| syn::parse_str(&input).map_err(|e| Box::new(e) as Box)) .and_then(|nibble: Expression| { nibble - .convert(&Context::new()) + .convert(&mut Context::new()) .well_typed(&mut FlastContext::new()) .map_err(|e| Box::new(e) as Box) }) -- cgit v1.2.3