We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f52bfce commit 232b136Copy full SHA for 232b136
core/docs/en/coroutine-pool.md
@@ -15,7 +15,7 @@ fn main() -> std::io::Result<()> {
15
let mut pool = CoroutinePool::default();
16
assert!(pool.is_empty());
17
pool.submit_task(
18
- Some(String::from(task_name)),
+ None,
19
|_| {
20
println!("Hello, world!");
21
Some(2)
0 commit comments