summaryrefslogtreecommitdiff
path: root/cli/bench
diff options
context:
space:
mode:
authorYusuke Tanaka <yusuktan@maguro.dev>2021-06-18 04:56:30 +0900
committerGitHub <noreply@github.com>2021-06-17 15:56:30 -0400
commit8031644e65647bdc3a6a0561ad31da9228e9723d (patch)
treefb2e86a305e784583770e5e27694243d9f67b79b /cli/bench
parent2a66d5de01b584b7138084eb427c9ac09c254986 (diff)
chore: upgrade Rust to 1.53.0 (#11021)
Diffstat (limited to 'cli/bench')
-rw-r--r--cli/bench/main.rs2
1 files changed, 1 insertions, 1 deletions
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(());
}