fix spelling error (#11)

This commit is contained in:
Thanos 2024-05-18 18:54:24 +03:00 committed by GitHub
parent f2865b25db
commit 8c3ef6cb51
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 2 deletions

View File

@ -30,7 +30,7 @@ while i <= 5 {
}
```
This will keep adding 1 to `sum` until `i` is no longer less than or equal to 5.
This will keep adding 1 to `i` and `i` to `sum` until `i` is no longer less than or equal to 5.
## The `mut` keyword
@ -86,4 +86,4 @@ This will compile and run without errors.
## Further reading
- [`while` loop documentation](https://doc.rust-lang.org/std/keyword.while.html)
- [`while` loop documentation](https://doc.rust-lang.org/std/keyword.while.html)