Skip to content

Commit

Permalink
task: fix a doc typo in LocalKey::sync_scope (#4971)
Browse files Browse the repository at this point in the history
  • Loading branch information
rick68 committed Sep 3, 2022
1 parent c2612b4 commit 1fd7f82
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tokio/src/task/task_local.rs
Expand Up @@ -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
///
Expand Down

0 comments on commit 1fd7f82

Please sign in to comment.