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"
1616default = [" async-io" ]
1717
1818[dependencies ]
19- async-executor = " ^1.2 "
19+ async-executor = " ^1.3 "
2020futures-lite = " ^1.0"
2121num_cpus = " ^1.13"
2222once_cell = " ^1.4"
Original file line number Diff line number Diff line change @@ -45,10 +45,10 @@ pub use async_executor::Task;
4545static GLOBAL_EXECUTOR_INIT : AtomicBool = AtomicBool :: new ( false ) ;
4646static GLOBAL_EXECUTOR_THREADS : Lazy < ( ) > = Lazy :: new ( init) ;
4747
48- static GLOBAL_EXECUTOR : Executor = Executor :: new ( ) ;
48+ static GLOBAL_EXECUTOR : Executor < ' _ > = Executor :: new ( ) ;
4949
5050thread_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.
You can’t perform that action at this time.
0 commit comments