From 2389abaeed2b7efbe81b1bc5a6c17901ea9961be Mon Sep 17 00:00:00 2001 From: ConnorSkees <39542938+ConnorSkees@users.noreply.github.com> Date: Tue, 14 Jan 2020 17:47:37 -0500 Subject: [PATCH] Remove unused SelectorKind variant --- src/selector.rs | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/selector.rs b/src/selector.rs index d6d662a..fe5b0cd 100644 --- a/src/selector.rs +++ b/src/selector.rs @@ -75,8 +75,6 @@ pub enum SelectorKind { /// Used to signify no selector (when there is no super_selector of a rule) None, Whitespace, - /// Intemediate value to simplify usage with identifier interpolation - Several(Vec), } impl IsWhitespace for SelectorKind { @@ -112,9 +110,6 @@ impl Display for SelectorKind { toks.iter().map(ToString::to_string).collect::() ), SelectorKind::Super | SelectorKind::None => write!(f, ""), - SelectorKind::Several(_) => { - panic!("SelectorKind::Several should not be rendered using Display") - } } } }