I'm in favor of having an explicit symbol like colon (though I don't
care how it's spelled) to mark type annotations. I suspect that not
having an explicit symbol may constrain future syntactic choices. In
particular, macros may benefit if type annotations on their arguments
are syntactically optional. (I also feel like I mess up the C-style
type annotations a lot in the presence of complex types, but that
might just be me.)

Paul
_______________________________________________
Rust-dev mailing list
[email protected]
https://mail.mozilla.org/listinfo/rust-dev

Reply via email to