mirror of
https://github.com/servo/servo.git
synced 2025-08-05 13:40:08 +01:00
style: Remove unused function on Appearance.
Differential Revision: https://phabricator.services.mozilla.com/D82124
This commit is contained in:
parent
87612b65c5
commit
1f9d6ad5ef
1 changed files with 0 additions and 8 deletions
|
@ -1847,14 +1847,6 @@ pub enum Appearance {
|
|||
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.
|
||||
///
|
||||
/// https://drafts.csswg.org/css-break/#break-between
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue