Appearance
Source Code
Checks for matches that do something only in 1 arm and can be rewrote as an if
if
match variable { Option::None => println!("None"), Option::Some => (), };
Which can be probably rewritten as
if variable.is_none() { println!("None"); }