diff options
author | Simon Sapin <simon.sapin@exyr.org> | 2018-11-01 23:45:06 +0100 |
---|---|---|
committer | Simon Sapin <simon.sapin@exyr.org> | 2018-11-06 15:26:02 +0100 |
commit | 45f7199eee82c66637ec68287eafa40a651001c4 (patch) | |
tree | 8c0802f4ac7b89c2ce4d73063c8f65b9ee5face9 /components/script/task.rs | |
parent | 86f148fb97601413c0d983f21b760d973ade7a75 (diff) | |
download | servo-45f7199eee82c66637ec68287eafa40a651001c4.tar.gz servo-45f7199eee82c66637ec68287eafa40a651001c4.zip |
`cargo fix --edition`
Diffstat (limited to 'components/script/task.rs')
-rw-r--r-- | components/script/task.rs | 2 |
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, { |