4 ms·
Looks like the match arm difference is going away: https://github.com/google/xls/pull/127 https://github.com/google/xls/pull/127
by muizelaar 6y ago
Looks like the match arm difference is going away: https://github.com/google/xls/pull/127 https://github.com/google/xls/pull/127
- est31 6y agoVery cool. TBH, Rust's match arm delimiter story is a bit weird. Sometimes you need to put a ",", sometimes you don't. And macro rules macros have ";" instead of ",".
- couchand 6y ago> Sometimes you need to put a ",", sometimes you don't The rule is pretty simple: if you have curly braces you don't need a comma (and rustfmt will drop it), if you don't have curly braces you need a comma.