mirror of
https://github.com/mainmatter/100-exercises-to-learn-rust
synced 2024-11-16 19:50:44 +01:00
Fix typo (#160)
This commit is contained in:
parent
a0537f8c51
commit
a899ecec96
1 changed files with 1 additions and 1 deletions
|
@ -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]
|
||||
|
|
Loading…
Reference in a new issue