macro_rules! hashmap { ($( $key: expr => $val: expr ),*) => { ... }; }
Expand description
To quickly create a hashmap.
Example: hashmap!["action"=>"query","meta"=>"siteinfo","siprop"=>"general|namespaces|namespacealiases|libraries|extensions|statistics"]