From e0e40cfe1b419289b1c97975704f6904cd87ccbd Mon Sep 17 00:00:00 2001 From: David Tolnay Date: Wed, 29 Jan 2025 18:23:59 -0800 Subject: [PATCH] Resolve unnecessary_semicolon pedantic clippy lint 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)]` --- benches/rust.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/benches/rust.rs b/benches/rust.rs index 96770ddfd3..81b5425025 100644 --- a/benches/rust.rs +++ b/benches/rust.rs @@ -100,7 +100,7 @@ mod librustc_parse { if let Err(diagnostic) = parser.parse_crate_mod() { diagnostic.cancel(); return Err(()); - }; + } Ok(()) }) }