Skip to content

Commit

Permalink
clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
lassemand committed Jun 20, 2024
1 parent 08fb4b9 commit 5dda1ec
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion notification-server/src/bin/server.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
2 changes: 1 addition & 1 deletion notification-server/src/bin/service.rs
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ fn get_cis2_events_addresses(effects: &AccountTransactionEffects) -> Option<Vec<
Ok(Event::Mint { amount, .. }) => Some(amount.to_string()),
_ => None,
})
.filter(|t| Option::is_some(t))
.filter(Option::is_some)
.collect(),
_ => None,
})
Expand Down

0 comments on commit 5dda1ec

Please sign in to comment.