From 1eb8afef6c95246ebe1e9ddcce6a3e4274c043fc Mon Sep 17 00:00:00 2001 From: Teddy Wing Date: Sat, 27 Oct 2018 16:08:18 +0200 Subject: Remove `Action` impl This function isn't used --- src/parser.rs | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'src') 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), } -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 { -- cgit v1.2.3