From 0d01692c97ea8ca6fc4b229e5b9678cb252bceda Mon Sep 17 00:00:00 2001 From: Greg Brown Date: Sat, 9 Jan 2021 14:31:02 +0000 Subject: Introduce chomp as a procedural macro. Add a bunch of tests. Fix chomp and chewed so autochomp compiles. --- autochomp/src/main.rs | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'autochomp/src/main.rs') diff --git a/autochomp/src/main.rs b/autochomp/src/main.rs index 9b3b521..493204d 100644 --- a/autochomp/src/main.rs +++ b/autochomp/src/main.rs @@ -1,15 +1,12 @@ use std::{ error::Error, - fs, io::{self, Read, Write}, process::exit, }; use chewed::{IterWrapper, Parser}; -mod nibble { - include!(concat!(env!("OUT_DIR"), "/nibble.rs")); -} +mod nibble; fn main() { let mut input = String::new(); -- cgit v1.2.3