rust-bitcoin-unsafe-fast/primitives/src
merge-script 540c712dc7
Merge rust-bitcoin/rust-bitcoin#3712: primitives: Add `must_use`
549be547ac primitives: Add must_use (Tobin C. Harding)

Pull request description:

  Enable lint `clippy::return_self_not_must_use` and add attribute `must_use` as required.

  Also run the linter with `clippy::must_use_candidate` enabled and manually check every warning site.

  Done as part of #3185

ACKs for top commit:
  apoelstra:
    ACK 549be547accdb13037bf3ef60310ca30d045dce0; successfully ran local tests; nice! will one-ACK merge
  sanket1729:
    ACK 549be547ac

Tree-SHA512: b22a6849fd0f4a7b65e1a9816efd47d411dcf2a5d5d46ae75b2b4d2389d3c9f46ab271314b112de9cd6fdc52cac7b53a632642e9bd90092d7065a8646e1362ec
2024-12-11 12:55:48 +00:00
..
locktime Standardize wording to `constructs a new` 2024-11-05 13:02:26 +00:00
script primitives: Add must_use 2024-12-10 11:02:06 +11:00
block.rs primitives: Add must_use 2024-12-10 11:02:06 +11:00
lib.rs Merge rust-bitcoin/rust-bitcoin#3712: primitives: Add `must_use` 2024-12-11 12:55:48 +00:00
merkle_tree.rs Remove hex string trait bounds from GeneralHash 2024-11-13 14:01:13 +11:00
opcodes.rs primitives: Add must_use 2024-12-10 11:02:06 +11:00
pow.rs Standardize wording to `constructs a new` 2024-11-05 13:02:26 +00:00
sequence.rs primitives: Reduce alloc requirements 2024-12-09 13:57:26 +11:00
taproot.rs Remove hex string trait bounds from GeneralHash 2024-11-13 14:01:13 +11:00
transaction.rs units: Remove serde from amounts 2024-11-28 12:55:43 +11:00
witness.rs primitives: Add must_use 2024-12-10 11:02:06 +11:00