@geerlingguy
Filing under #Rust #macro_rules
is it possible to write a Rust macro that transforms:
macro!(value => {
a => b,
c,
d => e,
f,
})
// with repetition of either declaration format
into
match value {
a => fn(b),
c => fn(c),
d => fn(e),
f => fn(f),
}
// etc