From 1f9d6ad5ef80d3dc743c691c8c42d2f1f2669e51 Mon Sep 17 00:00:00 2001 From: Cameron McCormack Date: Fri, 3 Jul 2020 04:11:18 +0000 Subject: [PATCH] style: Remove unused function on Appearance. Differential Revision: https://phabricator.services.mozilla.com/D82124 --- components/style/values/specified/box.rs | 8 -------- 1 file changed, 8 deletions(-) diff --git a/components/style/values/specified/box.rs b/components/style/values/specified/box.rs index 5c1d6c298f6..6199ed2275d 100644 --- a/components/style/values/specified/box.rs +++ b/components/style/values/specified/box.rs @@ -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