aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTeddy Wing2018-10-27 16:08:18 +0200
committerTeddy Wing2018-10-27 16:08:18 +0200
commit1eb8afef6c95246ebe1e9ddcce6a3e4274c043fc (patch)
tree1ebaf275d25e2691de62402eacbcbc26a4eb2f6c
parenta72d8b6300e53477685f75755034f6824505fe05 (diff)
downloaddome-key-map-1eb8afef6c95246ebe1e9ddcce6a3e4274c043fc.tar.bz2
Remove `Action` impl
This function isn't used
-rw-r--r--src/parser.rs10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/parser.rs b/src/parser.rs
index 0f38fbe..18714c8 100644
--- a/src/parser.rs
+++ b/src/parser.rs
@@ -120,16 +120,6 @@ pub enum Action {
Command(Vec<String>),
}
-impl Action {
- pub fn is_string(&self) -> bool {
- match *self {
- Action::String(_) => true,
- Action::Map(_) => false,
- Action::Command(_) => false,
- }
- }
-}
-
#[repr(C)]
#[derive(Debug, PartialEq)]
pub enum MapKind {