We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
fn foo() -> int { return 1; // warning: unnecessary `return`. }
It would be extremely neat if it could handle
fn foo() -> int { if bar() { return 1; } else { return 2; } }
(This is purely stylistic: how many style lints do we want/need?)