From 1f24497e4c63f99dd1ae8c6e17fc647bf7564658 Mon Sep 17 00:00:00 2001 From: Teddy Wing Date: Thu, 9 Aug 2018 02:17:03 +0200 Subject: map_kind(): Remove old commented code These were early tests to figure out how to parse my tokens. --- src/lib.rs | 6 ------ 1 file changed, 6 deletions(-) (limited to 'src/lib.rs') diff --git a/src/lib.rs b/src/lib.rs index e25ea54..da724dd 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -37,12 +37,6 @@ where I: Stream, I::Error: ParseError, { - // tokens( - // |l, r| l.eq_ignore_ascii_case(&r), - // ) - - // satisfy(|s| s == "map" || s == "cmd") - or( string("map").map(|_| MapKind::Map), string("cmd").map(|_| MapKind::Command), -- cgit v1.2.3