Remove dead code from layout.

This commit is contained in:
Ms2ger 2015-11-16 19:24:11 +01:00
parent de23fef9ca
commit 5ec1cdea9b
11 changed files with 4 additions and 116 deletions

View file

@ -672,13 +672,6 @@ impl<T> PseudoElementType<T> {
}
}
pub fn is_after(&self) -> bool {
match *self {
PseudoElementType::After(_) => true,
_ => false,
}
}
pub fn strip(&self) -> PseudoElementType<()> {
match *self {
PseudoElementType::Normal => PseudoElementType::Normal,