From 1bda8bb47aec5e5fee97f56bd4c4015ea0b5ca61 Mon Sep 17 00:00:00 2001 From: Jussi Saurio Date: Wed, 9 Jul 2025 10:41:18 +0300 Subject: [PATCH] stress clippy --- stress/main.rs | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/stress/main.rs b/stress/main.rs index 778792d13..da793c7f7 100644 --- a/stress/main.rs +++ b/stress/main.rs @@ -546,10 +546,8 @@ async fn main() -> Result<(), Box> { if opts.verbose { println!("Skipping UNIQUE constraint violation: {}", e); } - } else { - if opts.verbose { - println!("Error executing query: {}", e); - } + } else if opts.verbose { + println!("Error executing query: {}", e); } } _ => panic!("Error executing query: {}", e),