Skip to content

book: Dining Philosophers chapter uses unwrap() without explanation #30163

Closed
@salty-horse

Description

@salty-horse

unwrap() is used several times throughout the chapter.

There is only a single vague mention of it, despite it being used several times in the code:

Since this shouldn’t happen, we just use unwrap().

A bit more detail would be helpful, especially when it is first introduced in the code.

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