I tried to get the user input and then compare it to somthing and i got a problem :(
this is my code:
use std::io::stdin;
fn main() {
let mut command = String::new();
loop {
stdin().read_line(&mut command).ok().expect("Failed to read line");
if String::from("help") == &*command {
println!("it worked!");
}
}
}