diff --git a/bitcoin/src/address/mod.rs b/bitcoin/src/address/mod.rs index c16c25d2f..9eee27a6e 100644 --- a/bitcoin/src/address/mod.rs +++ b/bitcoin/src/address/mod.rs @@ -245,17 +245,17 @@ pub enum AddressData { /// Data encoded by a P2PKH address. P2pkh { /// The pubkey hash used to encumber outputs to this address. - pubkey_hash: PubkeyHash + pubkey_hash: PubkeyHash, }, /// Data encoded by a P2SH address. P2sh { /// The script hash used to encumber outputs to this address. - script_hash: ScriptHash + script_hash: ScriptHash, }, /// Data encoded by a Segwit address. Segwit { /// The witness program used to encumber outputs to this address. - witness_program: WitnessProgram + witness_program: WitnessProgram, }, } diff --git a/hashes/src/hkdf.rs b/hashes/src/hkdf.rs index a1b6c730a..e22418a94 100644 --- a/hashes/src/hkdf.rs +++ b/hashes/src/hkdf.rs @@ -5,12 +5,11 @@ //! Implementation based on RFC5869, but the interface is scoped //! to BIP324's requirements. -use core::fmt; - #[cfg(all(feature = "alloc", not(feature = "std")))] use alloc::vec; #[cfg(all(feature = "alloc", not(feature = "std")))] use alloc::vec::Vec; +use core::fmt; use crate::{Hash, HashEngine, Hmac, HmacEngine};