Skip to content

Switch to go's casting syntax #2231

Closed
Closed
@brson

Description

@brson

Go does:

x.(type)

People like it. It would make our casting precedence much clearer since it would be the same as field/method access (our as precedence has changed twice in the last year).

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