Skip to content

Commit 50f4a64

Browse files
author
Stjepan Glavina
committed
Update async-executor
1 parent f5c6629 commit 50f4a64

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ readme = "README.md"
1616
default = ["async-io"]
1717

1818
[dependencies]
19-
async-executor = "^1.2"
19+
async-executor = "^1.3"
2020
futures-lite = "^1.0"
2121
num_cpus = "^1.13"
2222
once_cell = "^1.4"

src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,10 +45,10 @@ pub use async_executor::Task;
4545
static GLOBAL_EXECUTOR_INIT: AtomicBool = AtomicBool::new(false);
4646
static GLOBAL_EXECUTOR_THREADS: Lazy<()> = Lazy::new(init);
4747

48-
static GLOBAL_EXECUTOR: Executor = Executor::new();
48+
static GLOBAL_EXECUTOR: Executor<'_> = Executor::new();
4949

5050
thread_local! {
51-
static LOCAL_EXECUTOR: LocalExecutor = LocalExecutor::new();
51+
static LOCAL_EXECUTOR: LocalExecutor<'static> = LocalExecutor::new();
5252
}
5353

5454
/// Configuration to init the thread pool for the multi-threaded global executor.

0 commit comments

Comments
 (0)