Expand description
§Read User Inputs
§Introduction:
Reads user input lines from the console.
P.s.: More useful macros you can find here.
§Examples:
let mut input = input!("Enter in order '0', '1', '2': ");
for i in 0..=2 {
if let Ok(text) = input.next().unwrap() {
assert_eq!(text, format!("{i}"));
}
}
§Licensing:
Distributed under the MIT license.
§Feedback:
You can contact me via GitHub or send a message to my Telegram @fuderis.
This library is constantly evolving, and I welcome your suggestions and feedback. See more useful macros here!
Macros§
- input
- Reads user inputs from the console