diff options
author | Josh Matthews <josh@joshmatthews.net> | 2025-03-16 09:46:14 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-03-16 13:46:14 +0000 |
commit | d35da38a2fd6f093967e74f704612391b4988e69 (patch) | |
tree | 96c8705a5a597be25ac74b58043e57b3e06992f4 /components/script/dom/intersectionobserver.rs | |
parent | 3ecd1c069978f6ceb20e4ee6af599fbef425e9da (diff) | |
download | servo-d35da38a2fd6f093967e74f704612391b4988e69.tar.gz servo-d35da38a2fd6f093967e74f704612391b4988e69.zip |
Cleanups for future script crate split (#35987)
* script: Avoid direct impl blocks on generated dicts and unions.
Signed-off-by: Josh Matthews <josh@joshmatthews.net>
* script: Remove references to codegen-specific import module.
Signed-off-by: Josh Matthews <josh@joshmatthews.net>
* Fix tidy.
Signed-off-by: Josh Matthews <josh@joshmatthews.net>
---------
Signed-off-by: Josh Matthews <josh@joshmatthews.net>
Diffstat (limited to 'components/script/dom/intersectionobserver.rs')
-rw-r--r-- | components/script/dom/intersectionobserver.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/components/script/dom/intersectionobserver.rs b/components/script/dom/intersectionobserver.rs index cc9cba87cc4..c8a761a627c 100644 --- a/components/script/dom/intersectionobserver.rs +++ b/components/script/dom/intersectionobserver.rs @@ -23,8 +23,7 @@ use super::intersectionobserverrootmargin::IntersectionObserverRootMargin; use crate::dom::bindings::cell::DomRefCell; use crate::dom::bindings::codegen::Bindings::IntersectionObserverBinding::IntersectionObserverInit; use crate::dom::bindings::codegen::UnionTypes::{DoubleOrDoubleSequence, ElementOrDocument}; -use crate::dom::bindings::error::Error; -use crate::dom::bindings::import::module::Fallible; +use crate::dom::bindings::error::{Error, Fallible}; use crate::dom::bindings::num::Finite; use crate::dom::bindings::reflector::{Reflector, reflect_dom_object_with_proto}; use crate::dom::bindings::root::{Dom, DomRoot}; |