Skip to content

Commit b32b944

Browse files
committed
chore(examples): allow clippy::print_stdout in examples
1 parent b614237 commit b32b944

File tree

3 files changed

+3
-0
lines changed

3 files changed

+3
-0
lines changed

crates/wallet/examples/compiler.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ use bdk_wallet::{KeychainKind, Wallet};
3131
///
3232
/// This example demonstrates the interaction between a bdk wallet and miniscript policy.
3333
34+
#[allow(clippy::print_stdout)]
3435
fn main() -> Result<(), Box<dyn Error>> {
3536
// We start with a miniscript policy string
3637
let policy_str = "or(

crates/wallet/examples/mnemonic_to_descriptors.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ use std::str::FromStr;
1919

2020
/// This example demonstrates how to generate a mnemonic phrase
2121
/// using BDK and use that to generate a descriptor string.
22+
#[allow(clippy::print_stdout)]
2223
fn main() -> Result<(), anyhow::Error> {
2324
let secp = Secp256k1::new();
2425

crates/wallet/examples/policy.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ use bdk_wallet::signer::SignersContainer;
2626
/// This example demos a Policy output for a 2of2 multisig between between 2 parties, where the wallet holds
2727
/// one of the Extend Private key.
2828
29+
#[allow(clippy::print_stdout)]
2930
fn main() -> Result<(), Box<dyn Error>> {
3031
let secp = bitcoin::secp256k1::Secp256k1::new();
3132

0 commit comments

Comments
 (0)