3 ms·
> JSON style literals for hash maps would be nice I believe that we plan to use a macro to achieve this. After our planned enhancements to macro invocation syn
by kibwen 13y ago
> JSON style literals for hash maps would be nice
I believe that we plan to use a macro to achieve this. After our planned enhancements to macro invocation syntax, it might look something like this:
let foo = map! {
bar => "hello",
qux => "world"
};