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 # Variables
### Binding and mutablity ### Binding and mutability
1. ๐ŸŒŸ A variable can be used only if it has been initialized. 1. ๐ŸŒŸ A variable can be used only if it has been initialized.
```rust,editable ```rust,editable
@ -98,7 +98,7 @@ fn main() {
} }
``` ```
### Unused varibles ### Unused variables
1. fix the warning below with : 1. fix the warning below with :
- ๐ŸŒŸ only one solution - ๐ŸŒŸ only one solution
@ -135,7 +135,7 @@ fn main() {
``` ```
### Destructuring assignments ### 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. ๐ŸŒŸ๐ŸŒŸ 9. ๐ŸŒŸ๐ŸŒŸ