On 5/17/11 1:21 PM, Peter Hull wrote:
There seems to be inconsistency now between having the type before the
name or after it with a colon. i.e '{a: int, b: int}' vs. 'var int a =
0'

I agree; I kinda figured we'd use "{ int a, int b }" syntax for record types.

I had also assumed that "var" would be the type-inferred keyword for consistency with C# (it reads a little better too IMHO) but I don't feel strongly about it either way.

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

Reply via email to