From 1d03db9ab37bfe623e16bc85f712d4a1db4c51ed Mon Sep 17 00:00:00 2001 From: Steve Myers Date: Sun, 15 Dec 2024 19:25:05 -0600 Subject: [PATCH] ci(clippy): fix new default warn empty_line_after_doc_comments for rust 1.83 https://rust-lang.github.io/rust-clippy/master/index.html#empty_line_after_doc_comments https://github.com/rust-lang/rust-clippy/pull/13091 --- crates/wallet/examples/compiler.rs | 1 - crates/wallet/examples/policy.rs | 1 - crates/wallet/src/keys/mod.rs | 2 +- 3 files changed, 1 insertion(+), 3 deletions(-) diff --git a/crates/wallet/examples/compiler.rs b/crates/wallet/examples/compiler.rs index d0922fa4e..bf43f3ded 100644 --- a/crates/wallet/examples/compiler.rs +++ b/crates/wallet/examples/compiler.rs @@ -30,7 +30,6 @@ use bdk_wallet::{KeychainKind, Wallet}; /// can be derived from the policy. /// /// This example demonstrates the interaction between a bdk wallet and miniscript policy. - #[allow(clippy::print_stdout)] fn main() -> Result<(), Box> { // We start with a miniscript policy string diff --git a/crates/wallet/examples/policy.rs b/crates/wallet/examples/policy.rs index e64d47b53..2b55a2ebf 100644 --- a/crates/wallet/examples/policy.rs +++ b/crates/wallet/examples/policy.rs @@ -25,7 +25,6 @@ use bdk_wallet::signer::SignersContainer; /// /// This example demos a Policy output for a 2of2 multisig between between 2 parties, where the wallet holds /// one of the Extend Private key. - #[allow(clippy::print_stdout)] fn main() -> Result<(), Box> { let secp = bitcoin::secp256k1::Secp256k1::new(); diff --git a/crates/wallet/src/keys/mod.rs b/crates/wallet/src/keys/mod.rs index d9c241ff0..f12bcb94d 100644 --- a/crates/wallet/src/keys/mod.rs +++ b/crates/wallet/src/keys/mod.rs @@ -982,7 +982,7 @@ impl fmt::Display for KeyError { impl std::error::Error for KeyError {} #[cfg(test)] -pub mod test { +mod test { use bitcoin::bip32; use super::*;