Commit 9dea259
committed
Merge rust-bitcoin#4710: Update NumOpResult arbitrary impl to only consume 1 byte of entropy
453888a Update NumOpResult arbitrary impl to only consume 1 byte of entropy (Shing Him Ng)
Pull request description:
Took some inspiration from [a comment](rust-bitcoin#4689 (comment)) in rust-bitcoin#4689 and looked through the rest of the codebase to update `u.int_in_range(0..=1)` to use `bool::arbitrary(u)`
ACKs for top commit:
yancyribbens:
cr ACK 453888a
tcharding:
ACK 453888a
apoelstra:
ACK 453888a; successfully ran local tests
Tree-SHA512: 2ee44d4bd06749be4a44b18a64e36f49a5e2b9ac9fb186b54615d8979b8bbb6b62e4a86255355bd15ed1b030eb415a3902a269b842b20c5bcf48a479ad62381c1 file changed
+3
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
325 | 325 | | |
326 | 326 | | |
327 | 327 | | |
328 | | - | |
329 | | - | |
330 | | - | |
331 | | - | |
| 328 | + | |
| 329 | + | |
| 330 | + | |
332 | 331 | | |
333 | 332 | | |
334 | 333 | | |
| |||
0 commit comments