macro_rules! epromptln {
($($arg:tt)*) => { ... };
}Expand description
Prints to the standard error, with a newline. Then reads a line of input.
This is a shorthand for calling eprintln!, read_line, and removing
any trailing newlines from the output.
ยงExamples
use io_prompt_prototype::epromptln;
let num: u16 = epromptln!("What's your favorite number? >").parse()?;
println!("Oh, cool: {}!", num);