mirror of
https://github.com/tokio-rs/tokio.git
synced 2025-09-28 12:10:37 +00:00
task: fix a doc typo in LocalKey::sync_scope
(#4971)
This commit is contained in:
parent
c2612b446f
commit
1fd7f82468
@ -157,7 +157,7 @@ impl<T: 'static> LocalKey<T> {
|
||||
|
||||
/// Sets a value `T` as the task-local value for the closure `F`.
|
||||
///
|
||||
/// On completion of `scope`, the task-local will be dropped.
|
||||
/// On completion of `sync_scope`, the task-local will be dropped.
|
||||
///
|
||||
/// ### Panics
|
||||
///
|
||||
|
Loading…
x
Reference in New Issue
Block a user