Fixed spelling mistakes and typos in the variable lesson

This commit is contained in:
Tanish-Eagle 2022-04-02 23:03:39 +05:30
parent d25c350d13
commit e056ca9f79
1 changed files with 3 additions and 3 deletions

View File

@ -1,6 +1,6 @@
# Variables
### Binding and mutablity
### Binding and mutability
1. 🌟 A variable can be used only if it has been initialized.
```rust,editable
@ -98,7 +98,7 @@ fn main() {
}
```
### Unused varibles
### Unused variables
1. fix the warning below with :
- 🌟 only one solution
@ -135,7 +135,7 @@ fn main() {
```
### Destructuring assignments
Introducing in Rust 1.59: You can now use tuple, slice, and struct patterns as the left-hand side of an assignment.
Introduced in Rust 1.59: You can now use tuple, slice, and struct patterns as the left-hand side of an assignment.
9. 🌟🌟