Skip to content

Is there plan to add Result<T, E>.expect_err method? #27425

Closed
@FuGangqiang

Description

@FuGangqiang

Result<T, E> has unwrap and expect method yielding Ok,
but only has unwrap_err yielding Err, there isn't expect_err method.

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