From 11c19e8c78a0e9b2ad95b6dcb0da76904e30097a Mon Sep 17 00:00:00 2001 From: Ahurac Date: Wed, 13 Dec 2023 19:46:03 +0100 Subject: [PATCH] =?UTF-8?q?Variables=20:=20suppression=20du=20mut=20de=20v?= =?UTF-8?q?ariables=20pour=20r=C3=A9duire=20au=20silence=20l'avertissement?= =?UTF-8?q?=20de=20rustc?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.rs b/src/main.rs index ced5470..27805ce 100644 --- a/src/main.rs +++ b/src/main.rs @@ -13,7 +13,7 @@ fn main() { let mut bytes_read: usize = 1; let mut exit_status: Option; let mut exit_code: i32 = 0; - let mut variables = Variables::new(); + let variables = Variables::new(); while bytes_read != 0 { variables.print_ps1();