2
Fix `semicolon_if_nothing_returned` FP on `let-else` stmts by dswij · Pull Reque...
source link: https://github.com/rust-lang/rust-clippy/pull/7955
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
closes #7912
semicolon_if_nothing_returned
now additionally checks if the statements ends in ;
, this will also prevent let-else
statements to be linted.
changelog: fix [semicolon_if_nothing_returned
] FP firing on let-else
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK