### What it does Checks for usage of `result.map(f)` where f is a function or closure that returns the unit type `()`. ### Why is this bad? Readability, this can be written more clearly with an if let statement ### Example ``` let x: Result = do_stuff(); x.map(log_err_msg); x.map(|msg| log_err_msg(format_msg(msg))); ``` The correct use would be: ``` let x: Result = do_stuff(); if let Ok(msg) = x { log_err_msg(msg); }; if let Ok(msg) = x { log_err_msg(format_msg(msg)); }; ```