mirror of
https://github.com/tokio-rs/tokio.git
synced 2026-08-18 00:00:09 +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()) {
|
||||
Some(guard) => basic.set_context_guard(guard),
|
||||
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
|
||||
// destructors would fail regardless if this happens.
|
||||
|
||||
Reference in New Issue
Block a user