Skip to content

Commit 76184fb

Browse files
Merge pull request #96 from Dailiduzhou/fix/DuplicateBackslash
fix(async-book): delete duplicate backslashes
2 parents a981878 + 82150da commit 76184fb

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

async-book/src/ch16-summary-and-reference-card.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
| Run two futures concurrently | `tokio::join!(a, b)` |
2222
| Race two futures | `tokio::select! { ... }` |
2323
| Spawn a background task | `tokio::spawn(async { ... })` |
24-
| Run blocking code in async | `tokio::task::spawn_blocking(\\|\\| { ... })` |
24+
| Run blocking code in async | `tokio::task::spawn_blocking(\|\| { ... })` |
2525
| Limit concurrency | `Semaphore::new(N)` |
2626
| Collect many task results | `JoinSet` |
2727
| Share state across tasks | `Arc<Mutex<T>>` or channels |

0 commit comments

Comments
 (0)