Skip to content

Commit

Permalink
ci(clippy): fix new default warn empty_line_after_doc_comments for ru…
Browse files Browse the repository at this point in the history
  • Loading branch information
notmandatory committed Dec 16, 2024
1 parent 941bca0 commit 1d03db9
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 3 deletions.
1 change: 0 additions & 1 deletion crates/wallet/examples/compiler.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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<dyn Error>> {
// We start with a miniscript policy string
Expand Down
1 change: 0 additions & 1 deletion crates/wallet/examples/policy.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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<dyn Error>> {
let secp = bitcoin::secp256k1::Secp256k1::new();
Expand Down
2 changes: 1 addition & 1 deletion crates/wallet/src/keys/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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::*;
Expand Down

0 comments on commit 1d03db9

Please sign in to comment.