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.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/script/task.rs b/components/script/task.rs
index 8be1013063b..e7461ee4685 100644
--- a/components/script/task.rs
+++ b/components/script/task.rs
@@ -12,7 +12,7 @@ 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,
{