aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/task.rs
diff options
context:
space:
mode:
Diffstat (limited to 'components/script/task.rs')
-rw-r--r--components/script/task.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/components/script/task.rs b/components/script/task.rs
index 8be1013063b..622da35567d 100644
--- a/components/script/task.rs
+++ b/components/script/task.rs
@@ -5,14 +5,14 @@
//! Machinery for [tasks](https://html.spec.whatwg.org/multipage/#concept-task).
use std::fmt;
-use std::sync::Arc;
use std::sync::atomic::{AtomicBool, Ordering};
+use std::sync::Arc;
macro_rules! task {
($name:ident: move || $body:tt) => {{
#[allow(non_camel_case_types)]
struct $name<F>(F);
- impl<F> ::task::TaskOnce for $name<F>
+ impl<F> crate::task::TaskOnce for $name<F>
where
F: ::std::ops::FnOnce() + Send,
{