From e056ca9f79fb454432e1346899b5b6f933dbdb7e Mon Sep 17 00:00:00 2001 From: Tanish-Eagle Date: Sat, 2 Apr 2022 23:03:39 +0530 Subject: [PATCH] Fixed spelling mistakes and typos in the variable lesson --- en/src/variables.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/en/src/variables.md b/en/src/variables.md index 43ad6c5..c1c9867 100644 --- a/en/src/variables.md +++ b/en/src/variables.md @@ -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. 🌟🌟