afficher_commande aurais pu être une implementation de Display
Quand tu fait
fn afficher_commande(&self) {
println!("{} {}", self.commande, self.argument);
}
tu aurais pu implementer directement fmt
du trait Display
https://doc.rust-lang.org/std/fmt/trait.Display.html