Skip to content

Rename tuple structs to something else #7288

Closed
@emberian

Description

@emberian

"tuple struct" is a pretty terrible name. I propose "named tuple". This would also change the syntax from

struct Foo(....)

to

tuple Foo(...).

Only reason is because you can't have impls or traits on typedefs. If you could, this feature could be reduced to type Foo = (....), which would be ideal I think.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-grammarArea: The grammar of RustE-easyCall for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions