From 8031644e65647bdc3a6a0561ad31da9228e9723d Mon Sep 17 00:00:00 2001 From: Yusuke Tanaka Date: Fri, 18 Jun 2021 04:56:30 +0900 Subject: chore: upgrade Rust to 1.53.0 (#11021) --- cli/bench/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cli/bench') diff --git a/cli/bench/main.rs b/cli/bench/main.rs index e15f76277..d19731faa 100644 --- a/cli/bench/main.rs +++ b/cli/bench/main.rs @@ -439,7 +439,7 @@ struct BenchResult { we replace the harness with our own runner here. */ fn main() -> Result<()> { - if env::args().find(|s| s == "--bench").is_none() { + if !env::args().any(|s| s == "--bench") { return Ok(()); } -- cgit v1.2.3