pub fn input() -> StringExpand description
Reads a single line of input, similar to Pythons input function
§Example
use simple_std::input;
println!("What is your name?");
let name = input();
println!("Hello {}!", name)§Why is this not in std?
The implementation is fairly simple, just 2 lines, but it has a little complexity to it, that’s why there is the simplified version here.