diff --git a/codes/rust_lang/cli/src/io.rs b/codes/rust_lang/cli/src/io.rs
index 47d75e27cfc1a00ccccac85cd83f1763ee1e7080..1858b507cae6185b955a4e6365a6b0d2c6e5bc5d 100644
--- a/codes/rust_lang/cli/src/io.rs
+++ b/codes/rust_lang/cli/src/io.rs
@@ -59,7 +59,7 @@ fn write_to_file(output: &str, numbers: &[i32]) -> Result<(), String> {
 /// these numbers. Returns errors when the parsing fails.
 pub fn read_command_line_builder() -> Result<(), String> {
     // ANCHOR: matches
-    let matches = 
+    let matches =
     // ANCHOR: new_command
         Command::new(COMMAND)
             .author(AUTHOR)
@@ -97,29 +97,28 @@ pub fn read_command_line_builder() -> Result<(), String> {
     // ANCHOR_END: matches
 
     // ANCHOR: numbers_matches
-    let numbers = 
-        if let Some(count) = 
+    let numbers = if let Some(count) =
         // ANCHOR: get_one_matches
-            matches.get_one::<usize>("count") 
-        // ANCHOR_END: get_one_matches
-        {
-            read_from_urandom(*count)?
-        } else if let Some(numbers) = 
+        matches.get_one::<usize>("count")
+    // ANCHOR_END: get_one_matches
+    {
+        read_from_urandom(*count)?
+    } else if let Some(numbers) =
         // ANCHOR: get_many_matches
-            matches.get_many::<i32>("numbers") 
-        // ANCHOR_END: get_many_matches
-        {
-            numbers.copied().collect()
-        } else {
-            Vec::new()
-        };
+        matches.get_many::<i32>("numbers")
+    // ANCHOR_END: get_many_matches
+    {
+        numbers.copied().collect()
+    } else {
+        Vec::new()
+    };
     // ANCHOR_END: numbers_matches
 
     // ANCHOR: output_matches
-    if let Some(output) = 
+    if let Some(output) =
         // ANCHOR: get_one_string_matches
-        matches.get_one::<String>("output") 
-        // ANCHOR_END: get_one_string_matches
+        matches.get_one::<String>("output")
+    // ANCHOR_END: get_one_string_matches
     {
         write_to_file(output, &numbers)?;
     } else {
diff --git a/codes/rust_lang/unsafe/src/main.rs b/codes/rust_lang/unsafe/src/main.rs
index 523802da6682dd65e96f9b35985980d012e9a00e..6189be4726ff77365c8cae44e2dbb0993b9b7d7f 100644
--- a/codes/rust_lang/unsafe/src/main.rs
+++ b/codes/rust_lang/unsafe/src/main.rs
@@ -38,7 +38,7 @@ fn main() {
     safe_list.print();
     unsafe_list.print();
 
-    for j in 1..1000 {
+    for _j in 1..1000 {
         let mut ul = UnsafeList::new();
         for i in 1..1_000_000 {
             ul.push(i);