literal 0.2.0

Literals for Rust's collections
Documentation

Literals for Rust's collections

use std::collections::HashMap;
use literal::{map,MapLiteral};

fn main() {
    let m: HashMap<String,i32> = map!{"x": 0, "y": 1};
    println!("{:?}",m);
}