Skip to content

Documentation says arrays use square brackets, but they actually use parentheses #238

@bonsairobo

Description

@bonsairobo

Pretty self-explanatory. I tried to use "[[1, 0, 0], [0, 1, 0], [0, 0, 1]]" for a [[i32; 3]; 3], but the parser gives an ExpectedArray error. It worked once I changed it to "((1, 0, 0), (0, 1, 0), (0, 0, 1))".

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions