Appearance
Default: Enabled
Source Code
Detects if the function has a unit return type, which is not needed to be specified.
fn foo() -> () { println!("Hello, world!"); }
Can be simplified to just:
fn foo() { println!("Hello, world!"); }