Skip to content
This repository was archived by the owner on Jun 15, 2023. It is now read-only.
This repository was archived by the owner on Jun 15, 2023. It is now read-only.

Some((a, b)) formats to Some(a, b) #274

Closed
@johnridesabike

Description

@johnridesabike
let x = Some((1, 2))

formats to:

let x = Some(1, 2)

Either one compiles, so maybe this isn’t a bug? The syntax is misleading, though, since the Some constructor only takes one value.

This happens with other variant constructors as well.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions