Skip to content

Commit dbd958a

Browse files
hasheddantaiki-e
authored andcommitted
Fix minor typo in enter doc comment (#2604)
Fixes a minor typo by changing "a tasks" to "a task" in the documentation comment for enter. Signed-off-by: hasheddan <[email protected]>
1 parent 066d2db commit dbd958a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

futures-executor/src/enter.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ impl std::error::Error for EnterError {}
3434
/// executor.
3535
///
3636
/// Executor implementations should call this function before beginning to
37-
/// execute a tasks, and drop the returned [`Enter`](Enter) value after
37+
/// execute a task, and drop the returned [`Enter`](Enter) value after
3838
/// completing task execution:
3939
///
4040
/// ```

0 commit comments

Comments
 (0)