Fixed spelling mistakes and typos in the variable lesson
This commit is contained in:
parent
d25c350d13
commit
e056ca9f79
|
@ -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. ๐๐
|
||||||
|
|
||||||
|
|
Loadingโฆ
Reference in New Issue