Variables : suppression du mut de variables pour réduire au silence l'avertissement de rustc

This commit is contained in:
Ahurac 2023-12-13 19:46:03 +01:00
parent b6b1ad629d
commit 11c19e8c78

View file

@ -13,7 +13,7 @@ fn main() {
let mut bytes_read: usize = 1;
let mut exit_status: Option<i32>;
let mut exit_code: i32 = 0;
let mut variables = Variables::new();
let variables = Variables::new();
while bytes_read != 0 {
variables.print_ps1();