2

Fix `semicolon_if_nothing_returned` FP on `let-else` stmts by dswij · Pull Reque...

 2 years ago
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.
neoserver,ios ssh client

Copy link

Contributor

dswij commented 8 days ago

edited

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


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK