style: Remove unused function on Appearance.

Differential Revision: https://phabricator.services.mozilla.com/D82124
This commit is contained in:
Cameron McCormack 2020-07-03 04:11:18 +00:00 committed by Emilio Cobos Álvarez
parent 87612b65c5
commit 1f9d6ad5ef

View file

@ -1847,14 +1847,6 @@ pub enum Appearance {
Count, Count,
} }
impl Appearance {
/// Returns whether we're the `none` value.
#[inline]
pub fn is_none(self) -> bool {
self == Appearance::None
}
}
/// A kind of break between two boxes. /// A kind of break between two boxes.
/// ///
/// https://drafts.csswg.org/css-break/#break-between /// https://drafts.csswg.org/css-break/#break-between