Skip to content

change struct separator syntax from ";" to "," #3263

Closed
@bblum

Description

@bblum

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 }.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-grammarArea: The grammar of Rust

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions