|
Ran
|
Jobs
1
|
Files
129
|
Run time
1min
|
Badge
README BADGES
|
push
github
Merge rust-bitcoin/rust-bitcoin#4662: primitives: Inline `impl_to_hex_from_lower_hex` macro and deprecate <a class=hub.com/rust-bitcoin/rust-bitcoin/commit/d42d478f1b6aab9969bb73108d8afdaf3db975e3">d42d478f1 primitives: Inline impl_to_hex_from_lower_hex and deprecate (Tobin C. Harding) Pull request description: Macros are basically just a pain in the arse. This one is used to reduced code duplication/verbosity even thought the function can be written as a one-liner. Also calling macros across crate boundries is error prone and a constant source of maintenance grief. Note also: - The generated docs are quite general - `#[inline]` is missing - The docs on the macro are wrong in regards to the no-op Remove all calls to the macro from `primitives` and inline using terse syntax by way of the `format!` macro. Add `deprecated` attribute and direct users to just use `format!("{var:x}")` instead. ACKs for top commit: apoelstra: ACK d42d478f1b6aab9969bb73108d8afdaf3db975e3; successfully ran local tests Tree-SHA512: 2029bb18d3e26439e10fb50af3eec71b10e
2 of 6 new or added lines in 5 files covered. (33.33%)
11 existing lines in 2 files now uncovered.21352 of 25560 relevant lines covered (83.54%)
15213.26 hits per line
| Lines | Coverage | ∆ | File |
|---|---|---|---|
| 1 |
94.44 |
9.44% | primitives/src/pow.rs |
| 1 |
90.0 |
-1.53% | primitives/src/script/borrowed.rs |
| 1 |
98.46 |
-1.54% | primitives/src/script/owned.rs |
| 1 |
86.67 |
1.42% | primitives/src/sequence.rs |
| Lines | Coverage | ∆ | File |
|---|---|---|---|
| 6 |
86.71 |
-0.39% | bitcoin/src/psbt/mod.rs |
| 5 |
78.26 |
-21.74% | internals/src/macros.rs |
| ID | Job ID | Ran | Files | Coverage | |
|---|---|---|---|---|---|
| 1 | 16353401521.1 | 129 |
83.54 |
GitHub Action Run |
| Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line |
|---|