Skip to content

Commit

Permalink
Resolve unnecessary_semicolon pedantic clippy lint
Browse files Browse the repository at this point in the history
    warning: unnecessary semicolon
       --> benches/rust.rs:103:14
        |
    103 |             };
        |              ^ help: remove
        |
        = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_semicolon
        = note: `-W clippy::unnecessary-semicolon` implied by `-W clippy::pedantic`
        = help: to override `-W clippy::pedantic` add `#[allow(clippy::unnecessary_semicolon)]`
  • Loading branch information
dtolnay committed Jan 30, 2025
1 parent 6ebd966 commit e0e40cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion benches/rust.rs
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ mod librustc_parse {
if let Err(diagnostic) = parser.parse_crate_mod() {
diagnostic.cancel();
return Err(());
};
}
Ok(())
})
}
Expand Down

0 comments on commit e0e40cf

Please sign in to comment.