add_macro 0.3.2

This crate provides the more additional macros to help you write code faster!
Documentation
1
2
3
4
5
6
7
8
9
extern crate add_macro;
use add_macro::input;

#[test]
fn test_input() {
    let buf: String = input!("Type something: ");

    assert_eq!(buf, "123");
}