From ad7e9f8f36ef3b7a192e8cc55d959ebbe045305f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=B6khan=20=C5=9Eim=C5=9Fek?= Date: Thu, 14 Dec 2023 12:28:19 +0300 Subject: [PATCH] Fix clippy warning --- src/let_else.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/let_else.rs b/src/let_else.rs index f76ff0f..baccbe5 100644 --- a/src/let_else.rs +++ b/src/let_else.rs @@ -12,7 +12,7 @@ fn process_str(s: &str) -> u64 { } let count = res.unwrap(); // ... do_something_with(count) - count + count + 1 } #[test]