projects
/
rust_exercises.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a0537f8
)
Fix typo (#160)
author
Remo Senekowitsch
<remo@buenzli.dev>
Wed, 2 Oct 2024 13:20:17 +0000
(15:20 +0200)
committer
GitHub
<noreply@github.com>
Wed, 2 Oct 2024 13:20:17 +0000
(15:20 +0200)
book/src/08_futures/01_async_fn.md
patch
|
blob
|
history
diff --git
a/book/src/08_futures/01_async_fn.md
b/book/src/08_futures/01_async_fn.md
index
f935405
..
cf0ed4e
100644
(file)
--- a/
book/src/08_futures/01_async_fn.md
+++ b/
book/src/08_futures/01_async_fn.md
@@
-107,7
+107,7
@@
asynchronous programming in Rust.
The entrypoint of your executable, the `main` function, must be a synchronous function.
That's where you're supposed to set up and launch your chosen async runtime.
-Most runtimes provide
s
a macro to make this easier. For `tokio`, it's `tokio::main`:
+Most runtimes provide a macro to make this easier. For `tokio`, it's `tokio::main`:
```rust
#[tokio::main]