Skip to content

Type error in example of section "standard-library/stacks" #318

@yeah-boi

Description

@yeah-boi

In the example of section "standard-library/stacks" there is a type error in the following part:

.{ .open = stack.pop(), .close = i, }

The field open has type usize, but stack.pop() has type ?usize.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions