rust-bitcoin-unsafe-fast/bitcoin/src/psbt
merge-script 848256c6a9
Merge rust-bitcoin/rust-bitcoin#2921: Make 'use core::fmt' calls consistent
8ee1744b9b Make 'use core::fmt' calls consistent (Shing Him Ng)

Pull request description:

  I started taking a look at #2869 and looked for everything that was implementing the `Display` trait:

  ```rust
  impl fmt::Display for _
  ```

  but found some places where the imports weren't consistent:
  ```rust
  impl Display for _
  ```

  There were only a few instances of the latter, so I went ahead and cleaned those up before starting #2869

  I started pulling this thread when I saw the same thing was happening for `fmt::Debug` and `fmt::Formatter` so I updated the rest of the `use core::fmt::*` statements with a few exceptions:

  - No updates to `use core::fmt::*` if it was being called from within a function since I felt like the function scope was small enough to not cause confusion
  - No updates to `use core::fmt::{self, Write as _};`

ACKs for top commit:
  Kixunil:
    ACK 8ee1744b9b
  tcharding:
    ACK 8ee1744b9b

Tree-SHA512: 33eb6ea0c4e808ef78bc87de6547144b756bde206c50d80488f740e97cd8d11f1abcb8936c487d7bfd29be5e21c7f40ff88f82acdaaec9aacb4b6362ffc4c680
2024-06-27 15:40:06 +00:00
..
map psbt: implement const for PsbtSighashType::ALL 2024-06-24 08:55:01 +00:00
error.rs Remove usage of blockdata from paths 2024-06-20 12:00:22 +10:00
macros.rs hashes: split Hash trait into two 2024-06-24 13:28:54 +00:00
mod.rs Merge rust-bitcoin/rust-bitcoin#2921: Make 'use core::fmt' calls consistent 2024-06-27 15:40:06 +00:00
raw.rs Standardize function doc Errors 2024-05-24 09:59:42 +01:00
serialize.rs hashes: drop the `all_zeros` method on arbitrary hashes 2024-06-22 15:09:28 +00:00