Skip to content

Section 3.2 should introduce the unit type, () #1933

Closed
rust-lang/rust
#87503
@acuster

Description

@acuster

The unit type, (), is introduced in passing in the struct chapter rather than in the tuple type section
of data types chapter.

It would make more sense to introduce it explicitly early on, and mention its general importance as an implicit, default expression.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions