Skip to content

Commit 232b136

Browse files
committed
fix doc
1 parent f52bfce commit 232b136

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/docs/en/coroutine-pool.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ fn main() -> std::io::Result<()> {
1515
let mut pool = CoroutinePool::default();
1616
assert!(pool.is_empty());
1717
pool.submit_task(
18-
Some(String::from(task_name)),
18+
None,
1919
|_| {
2020
println!("Hello, world!");
2121
Some(2)

0 commit comments

Comments
 (0)