Skip to content

Clippy doesn't catch Result<T,E>.map_or(None, Some(T)) #5414

Closed
@nickrtorres

Description

@nickrtorres

Result<T,E> has a method to adapt into an Option<T>, Clippy doesn't catch attempts to rewrite this method as Result<T,E>.map_or(None, Some(T))

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