Skip to content

Commit

Permalink
Fix minor typo in enter doc comment (#2604)
Browse files Browse the repository at this point in the history
Fixes a minor typo by changing "a tasks" to "a task" in the
documentation comment for enter.

Signed-off-by: hasheddan <georgedanielmangum@gmail.com>
  • Loading branch information
hasheddan committed May 29, 2022
1 parent 4e210b8 commit 7a4fc6e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion futures-executor/src/enter.rs
Expand Up @@ -34,7 +34,7 @@ impl std::error::Error for EnterError {}
/// executor.
///
/// Executor implementations should call this function before beginning to
/// execute a tasks, and drop the returned [`Enter`](Enter) value after
/// execute a task, and drop the returned [`Enter`](Enter) value after
/// completing task execution:
///
/// ```
Expand Down

0 comments on commit 7a4fc6e

Please sign in to comment.