exercism-solutions/rust/macros/tests/invalid/only-comma.rs

8 lines
153 B
Rust
Raw Normal View History

2024-01-07 18:35:20 -06:00
use macros::hashmap;
use std::collections::HashMap;
fn main() {
// a single random comma is not valid
let _hm: HashMap<(), ()> = hashmap!(,);
}