File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ readme = "README.md"
16
16
default = [" async-io" ]
17
17
18
18
[dependencies ]
19
- async-executor = " ^1.2 "
19
+ async-executor = " ^1.3 "
20
20
futures-lite = " ^1.0"
21
21
num_cpus = " ^1.13"
22
22
once_cell = " ^1.4"
Original file line number Diff line number Diff line change @@ -45,10 +45,10 @@ pub use async_executor::Task;
45
45
static GLOBAL_EXECUTOR_INIT : AtomicBool = AtomicBool :: new ( false ) ;
46
46
static GLOBAL_EXECUTOR_THREADS : Lazy < ( ) > = Lazy :: new ( init) ;
47
47
48
- static GLOBAL_EXECUTOR : Executor = Executor :: new ( ) ;
48
+ static GLOBAL_EXECUTOR : Executor < ' _ > = Executor :: new ( ) ;
49
49
50
50
thread_local ! {
51
- static LOCAL_EXECUTOR : LocalExecutor = LocalExecutor :: new( ) ;
51
+ static LOCAL_EXECUTOR : LocalExecutor < ' static > = LocalExecutor :: new( ) ;
52
52
}
53
53
54
54
/// Configuration to init the thread pool for the multi-threaded global executor.
You can’t perform that action at this time.
0 commit comments