mirror of
https://github.com/tokio-rs/tokio.git
synced 2026-08-19 00:00:09 +02:00
task: fix a doc typo in LocalKey::sync_scope (#4971)
This commit is contained in:
@@ -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
|
||||
///
|
||||
|
||||
Reference in New Issue
Block a user