user_input

Function user_input 

Source
pub fn user_input() -> String
Expand description

Parse user input, trims it and then returns it as a String

ยงExample

let input = user_input();
println!("{}", a); // Your input from the terminal