Merge rust-bitcoin/rust-bitcoin#2805: Automated nightly rustfmt (2024-05-26)

4499c4c046 2024-05-26 automated rustfmt nightly (Fmt Bot)

Pull request description:

  Automated nightly `rustfmt` changes by [create-pull-request](https://github.com/peter-evans/create-pull-request) GitHub action

ACKs for top commit:
  apoelstra:
    ACK 4499c4c046

Tree-SHA512: 6a5eb8b2044f435038e58857dbc5a173ad6e3f5b636021241f96fa349220ff168d620952bdd0bce746fcae6c3e984d2b3bf9518c8dd794ae0553a8bdf392639d
This commit is contained in:
Andrew Poelstra 2024-05-26 13:40:42 +00:00
commit 24bb3aec4f
No known key found for this signature in database
GPG Key ID: C588D63CE41B97C1
2 changed files with 2 additions and 2 deletions

View File

@ -2,7 +2,7 @@
use bitcoin_hashes::{ use bitcoin_hashes::{
hash160, ripemd160, sha1, sha256, sha256d, sha256t, sha384, sha512, sha512_256, siphash24, hash160, ripemd160, sha1, sha256, sha256d, sha256t, sha384, sha512, sha512_256, siphash24,
Hash as _, Hmac, HmacEngine, HashEngine as _, Hash as _, HashEngine as _, Hmac, HmacEngine,
}; };
const DATA: &str = "arbitrary data to hash as a regression test"; const DATA: &str = "arbitrary data to hash as a regression test";

View File

@ -6,9 +6,9 @@ use core::fmt;
use internals::write_err; use internals::write_err;
use crate::parse::ParseIntError;
#[cfg(feature = "alloc")] #[cfg(feature = "alloc")]
use crate::parse; use crate::parse;
use crate::parse::ParseIntError;
#[cfg(feature = "alloc")] #[cfg(feature = "alloc")]
use crate::prelude::*; use crate::prelude::*;