From 5dda1ec12a3b39cae67af6c5f9076f716155a51b Mon Sep 17 00:00:00 2001 From: Lasse Alm Date: Thu, 20 Jun 2024 10:38:17 +0200 Subject: [PATCH] clippy --- notification-server/src/bin/server.rs | 2 +- notification-server/src/bin/service.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/notification-server/src/bin/server.rs b/notification-server/src/bin/server.rs index 75732040..9574dd9e 100644 --- a/notification-server/src/bin/server.rs +++ b/notification-server/src/bin/server.rs @@ -10,7 +10,7 @@ use serde::Deserialize; use std::sync::Arc; use tokio_postgres::Config; use tracing::info; -use tracing_subscriber; + #[derive(Debug, Parser)] struct Args { diff --git a/notification-server/src/bin/service.rs b/notification-server/src/bin/service.rs index 591b06d9..872dba57 100644 --- a/notification-server/src/bin/service.rs +++ b/notification-server/src/bin/service.rs @@ -47,7 +47,7 @@ fn get_cis2_events_addresses(effects: &AccountTransactionEffects) -> Option Some(amount.to_string()), _ => None, }) - .filter(|t| Option::is_some(t)) + .filter(Option::is_some) .collect(), _ => None, })