Nick Torres 91d8a804d3 result_map_or_into_option: add lint to catch manually adpating Result -> Option
Result<T, E> has an `ok()` method that adapts a Result<T,E> into an Option<T>.
It's possible to get around this adapter by writing Result<T,E>.map_or(None, Some).

This lint is implemented as a new variant of the existing
[`option_map_none` lint](https://github.com/rust-lang/rust-clippy/pull/2128)
2020-04-04 03:17:13 -07:00
..
2020-03-04 00:56:43 +01:00
2020-03-03 18:06:59 -08:00
2020-02-23 22:36:15 -08:00
2020-02-23 22:36:15 -08:00
2020-03-11 06:35:07 +09:00
2020-04-01 12:15:39 -07:00
2020-04-01 20:14:05 +02:00
2020-03-03 10:48:08 +01:00
2020-03-04 17:37:01 +09:00
2020-03-04 17:37:01 +09:00
2020-03-04 17:37:01 +09:00
2020-03-13 02:06:47 +09:00
2020-03-13 02:06:47 +09:00
2020-03-13 01:25:18 +09:00
2020-03-20 22:52:53 +00:00
2020-03-31 16:13:51 +05:30
2020-03-04 00:56:43 +01:00
2020-03-04 00:56:43 +01:00
2020-04-01 20:12:36 +02:00
2020-04-01 20:12:36 +02:00
2020-03-29 22:22:36 +02:00
2020-03-11 06:35:07 +09:00
2020-03-10 18:00:37 -04:00
2020-03-10 18:00:37 -04:00
2020-03-23 16:45:31 +00:00