• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

rust-bitcoin / rust-bitcoin / 9699575953
83%

Build:
DEFAULT BRANCH: master
Ran 27 Jun 2024 03:41PM UTC
Jobs 1
Files 93
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

27 Jun 2024 03:40PM UTC coverage: 83.094%. Remained the same
9699575953

push

github

apoelstra
Merge rust-bitcoin/rust-bitcoin#2921: Make 'use core::fmt' calls consistent

<a class=hub.com/rust-bitcoin/rust-bitcoin/commit/<a class="double-link" href="https://git"><a class=hub.com/rust-bitcoin/rust-bitcoin/commit/8ee1744b9b0337c3fcf38f8da02735af6852c445">8ee1744b9 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 8ee1744b9b0337c3fcf38f8da02735af6852c445
  tcharding:
    ACK 8ee1744b9b0337c3fcf38f8da02735af6852c445

Tree-SHA512: 33eb6ea0c6c50d8048fd29be5e2ffc4c680

3 of 6 new or added lines in 4 files covered. (50.0%)

1 existing line in 1 file now uncovered.

19508 of 23477 relevant lines covered (83.09%)

15693.04 hits per line

Jobs
ID Job ID Ran Files Coverage
1 9699575953.1 27 Jun 2024 03:41PM UTC 0
83.09
GitHub Action Run
Source Files on build 9699575953
Detailed source file information is not available for this build.
  • Back to Repo
  • Github Actions Build #9699575953
  • 848256c6 on github
  • Prev Build on master (#9698493374)
  • Next Build on master (#9700458092)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc