aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--examples/spawn-local.rs2
-rw-r--r--examples/spawn.rs2
2 files changed, 2 insertions, 2 deletions
diff --git a/examples/spawn-local.rs b/examples/spawn-local.rs
index 09bb436..170cd71 100644
--- a/examples/spawn-local.rs
+++ b/examples/spawn-local.rs
@@ -4,7 +4,7 @@ use std::cell::Cell;
use std::future::Future;
use std::rc::Rc;
-use async_task::{Task, Runnable};
+use async_task::{Runnable, Task};
thread_local! {
// A channel that holds scheduled tasks.
diff --git a/examples/spawn.rs b/examples/spawn.rs
index e3d8280..74de7f9 100644
--- a/examples/spawn.rs
+++ b/examples/spawn.rs
@@ -4,7 +4,7 @@ use std::future::Future;
use std::panic::catch_unwind;
use std::thread;
-use async_task::{Task, Runnable};
+use async_task::{Runnable, Task};
use futures_lite::future;
use once_cell::sync::Lazy;