aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/notification.rs
diff options
context:
space:
mode:
authorJosh Matthews <josh@joshmatthews.net>2025-03-16 09:46:14 -0400
committerGitHub <noreply@github.com>2025-03-16 13:46:14 +0000
commitd35da38a2fd6f093967e74f704612391b4988e69 (patch)
tree96c8705a5a597be25ac74b58043e57b3e06992f4 /components/script/dom/notification.rs
parent3ecd1c069978f6ceb20e4ee6af599fbef425e9da (diff)
downloadservo-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/notification.rs')
-rw-r--r--components/script/dom/notification.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/components/script/dom/notification.rs b/components/script/dom/notification.rs
index 8661e5f9add..738c448d93d 100644
--- a/components/script/dom/notification.rs
+++ b/components/script/dom/notification.rs
@@ -2,6 +2,7 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at https://mozilla.org/MPL/2.0/. */
+use std::rc::Rc;
use std::time::{SystemTime, UNIX_EPOCH};
use dom_struct::dom_struct;
@@ -24,8 +25,7 @@ use crate::dom::bindings::codegen::Bindings::PermissionStatusBinding::{
PermissionDescriptor, PermissionName, PermissionState,
};
use crate::dom::bindings::codegen::UnionTypes::UnsignedLongOrUnsignedLongSequence;
-use crate::dom::bindings::error::Error;
-use crate::dom::bindings::import::module::{Fallible, Rc};
+use crate::dom::bindings::error::{Error, Fallible};
use crate::dom::bindings::inheritance::Castable;
use crate::dom::bindings::reflector::reflect_dom_object_with_proto;
use crate::dom::bindings::root::{Dom, DomRoot};