Variables : suppression du mut de variables pour réduire au silence l'avertissement de rustc
This commit is contained in:
parent
b6b1ad629d
commit
11c19e8c78
1 changed files with 1 additions and 1 deletions
|
@ -13,7 +13,7 @@ fn main() {
|
||||||
let mut bytes_read: usize = 1;
|
let mut bytes_read: usize = 1;
|
||||||
let mut exit_status: Option<i32>;
|
let mut exit_status: Option<i32>;
|
||||||
let mut exit_code: i32 = 0;
|
let mut exit_code: i32 = 0;
|
||||||
let mut variables = Variables::new();
|
let variables = Variables::new();
|
||||||
|
|
||||||
while bytes_read != 0 {
|
while bytes_read != 0 {
|
||||||
variables.print_ps1();
|
variables.print_ps1();
|
||||||
|
|
Reference in a new issue