enum Foo { Bar {}, // <-- this fails to compile without a comma Baz {} } fn main() { match () { () => {} // <-- This compiles without a comma _ => {} } } 9 posts - 6 participants
enum Foo { Bar {}, // <-- this fails to compile without a comma Baz {} } fn main() { match () { () => {} // <-- This compiles without a comma _ => {} } } 9 posts - 6 participants