Skip to content

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

Closed
@nickrtorres

Description

@nickrtorres
Contributor

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))

Activity

added 2 commits that reference this issue on Apr 7, 2020

Rollup merge of rust-lang#5415 - nickrtorres:master, r=flip1995

0c63766

Rollup merge of rust-lang#5415 - nickrtorres:master, r=flip1995

a1e49f9
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      Participants

      @nickrtorres

      Issue actions

        Clippy doesn't catch `Result<T,E>.map_or(None, Some(T))` · Issue #5414 · rust-lang/rust-clippy