text_io 0.1.13

really simple to use panicking input functions
Documentation
1
2
3
4
5
6
7
8
9
10
#[macro_use]
extern crate text_io;

pub fn main() {
    let (a, b, c): (i32, i32, i32);
    scan!("{}, {}\n{}", a, b, c);
    assert_eq!(a, 99);
    assert_eq!(b, 42);
    assert_eq!(c, 66);
}