News for hackers. Stuff that matters.
Re:A final proposal for Rust await syntax by saghm on Monday May 06, 2019 @02:23PM (#19842256)
> Why does a parametrized enumerant look like a function call and not a struct?

I don't think this is an "invented new syntax"; plenty of languages with built-in support for sum types do it this way. Of course, most mainstream languages don't have built-in support for sum types, but that's an entirely unrelated point to Rust's syntax for them.

There are no comments on this comment yet.