]> Untitled Git - bdk/commitdiff
ci(clippy): fix new default warn empty_line_after_doc_comments for rust 1.83
authorSteve Myers <steve@notmandatory.org>
Mon, 16 Dec 2024 01:25:05 +0000 (19:25 -0600)
committerSteve Myers <steve@notmandatory.org>
Mon, 16 Dec 2024 01:54:00 +0000 (19:54 -0600)
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
crates/wallet/examples/policy.rs
crates/wallet/src/keys/mod.rs

index d0922fa4ee57c64ded11b8841a5d7d0a69b43329..bf43f3ded5f8927329c71dffaf5399e6680a1aba 100644 (file)
@@ -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
index e64d47b53eb72538dd714301a2adf94e8dcc9649..2b55a2ebfda9d740d69172a7afc614c4b85b6fc7 100644 (file)
@@ -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();
index d9c241ff0ec0dc3db82f89b466ae68b561c4321d..f12bcb94dfd969db4ef1d083fc02ccef4e341602 100644 (file)
@@ -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::*;