7 lines
174 B
Rust
7 lines
174 B
Rust
use macros::hashmap;
|
|
use std::collections::HashMap;
|
|
|
|
fn main() {
|
|
// a single trailing comma is okay, but two is not
|
|
let _hm: HashMap<_, _> = hashmap!('a' => 2, ,);
|
|
}
|