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 authored and taiki-e committed Aug 14, 2022
1 parent 066d2db commit dbd958a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion futures-executor/src/enter.rs
Original file line number Diff line number Diff line change
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 dbd958a

Please sign in to comment.