commit b318b5e96adf7296df16718a78a4c99ee233e100
parent f3848878d436aab44ce78d60cac745b877293cfc
Author: Oriol Brufau <obrufau@igalia.com>
Date: Tue, 7 Oct 2025 23:16:09 +0000
Bug 1992880 - Remove unused imports. r=firefox-style-system-reviewers,emilio
Differential Revision: https://phabricator.services.mozilla.com/D267697
Diffstat:
2 files changed, 1 insertion(+), 2 deletions(-)
diff --git a/servo/components/style/lib.rs b/servo/components/style/lib.rs
@@ -48,7 +48,6 @@ extern crate malloc_size_of;
#[macro_use]
extern crate malloc_size_of_derive;
#[cfg(feature = "servo")]
-#[macro_use]
extern crate web_atoms;
#[allow(unused_extern_crates)]
#[macro_use]
diff --git a/servo/components/style/matching.rs b/servo/components/style/matching.rs
@@ -691,7 +691,7 @@ trait PrivateMatchMethods: TElement {
new_values: &Arc<ComputedValues>,
pseudo_element: Option<PseudoElement>,
) -> bool {
- use crate::animation::{self, AnimationSetKey, AnimationState};
+ use crate::animation::{AnimationSetKey, AnimationState};
// We need to call this before accessing the `ElementAnimationSet` from the
// map because this call will do a RwLock::read().