Skip to content

JohnBSmith/literal

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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);
}

About

Literals for Rust's collections

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages