From 0e425acad30138ad4a29d0508281cdeec19badfa Mon Sep 17 00:00:00 2001 From: "Tobin C. Harding" Date: Thu, 8 Sep 2022 15:48:21 +1000 Subject: [PATCH] Run cargo fmt A few trivial formatting errors have snuck into the codebase. Run `cargo +nightly fmt` --- examples/ecdsa-psbt.rs | 4 ++-- src/internal_macros.rs | 1 - 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/examples/ecdsa-psbt.rs b/examples/ecdsa-psbt.rs index 5c595e11..d93ac6ed 100644 --- a/examples/ecdsa-psbt.rs +++ b/examples/ecdsa-psbt.rs @@ -43,8 +43,8 @@ use bitcoin::util::bip32::{ }; use bitcoin::util::psbt::{self, Input, Psbt, PsbtSighashType}; use bitcoin::{ - address, Address, Amount, Network, OutPoint, PrivateKey, PublicKey, Script, - Sequence, Transaction, TxIn, TxOut, Txid, Witness, + address, Address, Amount, Network, OutPoint, PrivateKey, PublicKey, Script, Sequence, + Transaction, TxIn, TxOut, Txid, Witness, }; use self::psbt_sign::*; diff --git a/src/internal_macros.rs b/src/internal_macros.rs index 26ff764e..2ad174f5 100644 --- a/src/internal_macros.rs +++ b/src/internal_macros.rs @@ -117,7 +117,6 @@ macro_rules! debug_from_display { }; } pub(crate) use debug_from_display; - #[cfg(test)] pub(crate) use test_macros::*;