`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
Result<T, E>.map_or(None, Some(T))
#5415Rollup merge of rust-lang#5415 - nickrtorres:master, r=flip1995
Rollup merge of rust-lang#5415 - nickrtorres:master, r=flip1995