### What it does Check for usage of `_.map_or(Err(_), Ok)`. ### Lint Name `option_map_or_err_ok` ### Category pedantic ### Advantage - Readability: this can be written more concisely as `_.ok_or(_)`. ### Drawbacks _No response_ ### Example ```rust opt.map_or(Err(e), Ok); ``` Could be written as: ```rust opt.ok_or(e); ```