op 0.3.0

a simple library for operator
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#[macro_export]
macro_rules! input {
    () => {{
        let mut buf = String::new();
        std::io::stdin().read_line(&mut buf).map(|_| buf.trim().to_owned())
    }};
    ($($arg:tt)*) => {{
        let mut buf = String::new();
        print!($($arg)*);
        std::io::Write::flush(&mut std::io::stdout()).and_then(|_| {
            std::io::stdin().read_line(&mut buf).map(|_| buf.trim().to_owned())
        })
    }};
}