aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorTeddy Wing2018-08-09 02:17:03 +0200
committerTeddy Wing2018-08-09 02:17:03 +0200
commit1f24497e4c63f99dd1ae8c6e17fc647bf7564658 (patch)
tree3a5138866b7d26e634c42cf64d1918ce4bab50ab /src
parent7b0c36e446db0f0c98ef9b0af06f1b8e65c9b0e2 (diff)
downloaddome-key-map-1f24497e4c63f99dd1ae8c6e17fc647bf7564658.tar.bz2
map_kind(): Remove old commented code
These were early tests to figure out how to parse my tokens.
Diffstat (limited to 'src')
-rw-r--r--src/lib.rs6
1 files changed, 0 insertions, 6 deletions
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<Item = char>,
I::Error: ParseError<I::Item, I::Range, I::Position>,
{
- // 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),