rust-si
rust-si copied to clipboard
a rusty `scanf` (`scan!`) and inverse of `print!` (`read!`)
Results
12
rust-si issues
Sort by
recently updated
recently updated
newest added
This code crashes with this error: `let Count: usize = read!("{}\n");` `thread 'main' panicked at src\main.rs:44:24:` `called 'Result::unwrap()' on an 'Err' value: Parse("1\r", "__try_read_var__")` I don't submit issues very often,...
Because `try_scan!` has the following line ```rs format_args!($pattern, $($arg),*); ``` an implementation of `Display` is mandatory for any type that you want to convert to. Example: ```rs enum Foo {...