Remove unused SelectorKind variant

This commit is contained in:
ConnorSkees 2020-01-14 17:47:37 -05:00
parent c6fe179eeb
commit 2389abaeed

View File

@ -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<SelectorKind>),
}
impl IsWhitespace for SelectorKind {
@ -112,9 +110,6 @@ impl Display for SelectorKind {
toks.iter().map(ToString::to_string).collect::<String>()
),
SelectorKind::Super | SelectorKind::None => write!(f, ""),
SelectorKind::Several(_) => {
panic!("SelectorKind::Several should not be rendered using Display")
}
}
}
}