From 07f284105874c32123afc27b4299336702ab105f Mon Sep 17 00:00:00 2001 From: Greg Brown Date: Sat, 16 Jan 2021 12:11:12 +0000 Subject: Make AutoChomp into a library --- autochomp/src/main.rs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'autochomp/src/main.rs') diff --git a/autochomp/src/main.rs b/autochomp/src/main.rs index ec50a92..cbc0646 100644 --- a/autochomp/src/main.rs +++ b/autochomp/src/main.rs @@ -18,8 +18,6 @@ use chomp::{ lower::RustBackend, }; -mod nibble; - fn main() { let mut input = String::new(); let res = io::stdin() @@ -27,7 +25,7 @@ fn main() { .map_err(|e| Box::new(e) as Box) .and_then(|_| { IterWrapper::new(input.chars()) - .parse::() + .parse::() .map_err(|e| Box::new(e) as Box) }) .and_then(|ast| ast.convert().map_err(|e| Box::new(e) as Box)) -- cgit v1.2.3