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

rust-bitcoin / rust-bitcoin / 11127648557
83%

Build:
DEFAULT BRANCH: master
Ran 01 Oct 2024 02:38PM UTC
Jobs 1
Files 99
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

01 Oct 2024 02:37PM UTC coverage: 82.579%. Remained the same
11127648557

push

github

apoelstra
Merge rust-bitcoin/rust-bitcoin#3410: Fix buggy cfg in rustdocs

<a class=hub.com/rust-bitcoin/rust-bitcoin/commit/8bb0d3f6674b22f0dbb68b2ea2c079e1379700b7">8bb0d3f66<a href="https://github.com/rust-bitcoin/rust-bitcoin/commit/de120de5b9f3495b8c1a157fe291f9b93438d789"> Fix buggy cfg in rustdocs (Tobin C. Harding)

Pull request description:

  In <a class="double-link" href="https://github.com/rust-bitcoin/rust-bitcoin/commit/b9643bf3e9b21e4e2207ea210d1d57ffa014d271">b9643bf3e</a> we introduced an incorrect `cfg` attribute, that has just shown up, no clue why clippy only just presented me with this error now. Anywho, the current code is buggy and the rustdoc tests are never being run.

  Fix `cfg` attribute to use the feature name correctly and fix the imports so the code runs.

  Maintain the explicit `main` so that we can return an error using the `?` operator. Remove the empty `main` because its not needed anymore, it is a hang-over from Rust back in the day (before main was automatically added, IIUC).

ACKs for top commit:
  apoelstra:
    ACK 8bb0d3f6674b22f0dbb68b2ea2c079e1379700b7 successfully ran local tests

Tree-SHA512: 27f571ac3efa4bcfc0c80d41957533b9efe

19022 of 23035 relevant lines covered (82.58%)

19089.03 hits per line

Jobs
ID Job ID Ran Files Coverage
1 11127648557.1 01 Oct 2024 02:38PM UTC 0
82.58
GitHub Action Run
Source Files on build 11127648557
Detailed source file information is not available for this build.
  • Back to Repo
  • Github Actions Build #11127648557
  • de120de5 on github
  • Prev Build on master (#11118652309)
  • Next Build on master (#11129139471)
  • 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