use std::collections::HashMap;
use literal::{map,MapLiteral};
fn main() {
let m: HashMap<String,i32> = map!{"x": 0, "y": 1};
println!("{:?}",m);
}
Literals for Rust's collections
License
JohnBSmith/literal
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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