Skip to content

Remove .unwrap(), even in Tests #487

@DanGould

Description

@DanGould

Rust API Guidelines recommend this. It makes for cleaner examples and demonstrates best practice in cases where people copy our code.

I propose all new PRs follow this guideline and we slowly pay back the tech debt of unwrap() in tests.

Metadata

Metadata

Assignees

No one assigned

    Labels

    good first issueDoes NOT mean "an LLM can do this." Please discuss the constraints and intended approach.tech debt

    Type

    No type

    Projects

    Status

    Done

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions