We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents a981878 + 82150da commit 76184fbCopy full SHA for 76184fb
1 file changed
async-book/src/ch16-summary-and-reference-card.md
@@ -21,7 +21,7 @@
21
| Run two futures concurrently | `tokio::join!(a, b)` |
22
| Race two futures | `tokio::select! { ... }` |
23
| Spawn a background task | `tokio::spawn(async { ... })` |
24
-| Run blocking code in async | `tokio::task::spawn_blocking(\\|\\| { ... })` |
+| Run blocking code in async | `tokio::task::spawn_blocking(\|\| { ... })` |
25
| Limit concurrency | `Semaphore::new(N)` |
26
| Collect many task results | `JoinSet` |
27
| Share state across tasks | `Arc<Mutex<T>>` or channels |
0 commit comments