Macro doe::input

source ·
macro_rules! input {
    () => { ... };
}
Expand description

get user input from terminal,return String

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