Macro doe::input

source ·
macro_rules! input {
    () => { ... };
    ($prompt:expr) => { ... };
}
Expand description

§get user input from terminal,return String

use doe::*;
let s = input!();
println!("{:?}",s);