use std::collections::HashMap;
use literal::{map,MapLiteral};
fn main() {
let m: HashMap<String,i32> = map!{"x": 0, "y": 1};
println!("{:?}",m);
}
-
Notifications
You must be signed in to change notification settings - Fork 0
Literals for Rust's collections
License
JohnBSmith/literal
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Literals for Rust's collections
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published