From c6f2a3a283f409b1c5e90cc8834cc64dfe6e03e6 Mon Sep 17 00:00:00 2001 From: Filip Lelek Date: Thu, 7 Nov 2024 14:20:54 +0100 Subject: [PATCH] Run clippy --- fplus-lib/src/core/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fplus-lib/src/core/mod.rs b/fplus-lib/src/core/mod.rs index 56605d9..95eecd8 100644 --- a/fplus-lib/src/core/mod.rs +++ b/fplus-lib/src/core/mod.rs @@ -756,7 +756,7 @@ impl LDNApplication { match get_client_allocation(&application_id).await { Ok(response) => { - if let Some(_) = response.count { + if response.count.is_some() { log::info!("Allocation found for client {}", application_id); Self::issue_pathway_mismatch_comment( issue_number,