Skip to content

Commit

Permalink
Fix typo (#160)
Browse files Browse the repository at this point in the history
  • Loading branch information
senekor authored Oct 2, 2024
1 parent a0537f8 commit a899ece
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion book/src/08_futures/01_async_fn.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 provides 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]
Expand Down

0 comments on commit a899ece

Please sign in to comment.