-
Notifications
You must be signed in to change notification settings - Fork 13.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
change struct separator syntax from ";" to "," #3263
Comments
Something definitely needs to change here and this suggestion sounds reasonable to me. |
I seem to constantly be writing |
my impression is that record literals were also planned to go away. |
is it possible to optionally omit the last |
Yes.
|
Now that we don't write
let
for struct fields anymore,struct x { y: t1; z: t2; }
looks hideous. I'd much rather it feel more like records:struct x { y: t1, z: t2 }
.The text was updated successfully, but these errors were encountered: