aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorTeddy Wing2018-11-03 14:00:38 +0100
committerTeddy Wing2018-11-03 14:00:38 +0100
commita52b397d6f0e279997954894c8dfa43f05b2f5f2 (patch)
tree0af27bd19dd19e108b870feb7598ac4d00fc18d4 /src
parent3091ebe0deb1ba832b4a5925263409ec5b651c62 (diff)
downloaddome-key-map-a52b397d6f0e279997954894c8dfa43f05b2f5f2.tar.bz2
parser::mode(): Remove comment about verifying '}'
This functions correctly. No need for the TODO.
Diffstat (limited to 'src')
-rw-r--r--src/parser.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/parser.rs b/src/parser.rs
index 4bad78b..94dbbc8 100644
--- a/src/parser.rs
+++ b/src/parser.rs
@@ -598,7 +598,7 @@ where
whitespace_separator(),
token('{'),
map_collection(),
- token('}'), // Verify that this is parsed on its own line, not inside a map
+ token('}'),
).map(|(_, _, trigger, _, _, collection, _)|
Mode {
trigger: trigger,