mirror of
https://github.com/tokio-rs/tokio.git
synced 2026-09-07 00:00:08 +02:00
runtime: fix typo (#4303)
This commit is contained in:
@@ -582,7 +582,7 @@ cfg_rt! {
|
|||||||
match self::context::try_enter(self.handle.clone()) {
|
match self::context::try_enter(self.handle.clone()) {
|
||||||
Some(guard) => basic.set_context_guard(guard),
|
Some(guard) => basic.set_context_guard(guard),
|
||||||
None => {
|
None => {
|
||||||
// The context thread-local has alread been destroyed.
|
// The context thread-local has already been destroyed.
|
||||||
//
|
//
|
||||||
// We don't set the guard in this case. Calls to tokio::spawn in task
|
// We don't set the guard in this case. Calls to tokio::spawn in task
|
||||||
// destructors would fail regardless if this happens.
|
// destructors would fail regardless if this happens.
|
||||||
|
|||||||
Reference in New Issue
Block a user