Skip to content

Commit

Permalink
Fix incidental clippy lints from new stable Rust
Browse files Browse the repository at this point in the history
  • Loading branch information
str4d committed Feb 4, 2025
1 parent a1ae276 commit b47ae71
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/commands/inspect/transaction.rs
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ pub(crate) fn inspect(
};

let transparent_coins = match (
tx.transparent_bundle().map_or(false, |b| !b.vin.is_empty()),
tx.transparent_bundle().is_some_and(|b| !b.vin.is_empty()),
context.as_ref().and_then(|ctx| ctx.transparent_coins()),
) {
(true, coins) => coins,
Expand Down
2 changes: 1 addition & 1 deletion src/remote.rs
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ impl Server<'static> {
}
}

impl<'a> Server<'a> {
impl Server<'_> {
fn custom(host: String, port: u16) -> Self {
Self {
host: Cow::Owned(host),
Expand Down

0 comments on commit b47ae71

Please sign in to comment.