rust-bitcoin-unsafe-fast/units/src
merge-script 5f1700e79f
Merge rust-bitcoin/rust-bitcoin#4181: Implement `Rem` for `Weight`
8007840676 Add a test for remainder (Jamil Lambert, PhD)
4787aa1f89 Implement Rem for Weight (Jamil Lambert, PhD)

Pull request description:

  Weight implements `Div` but not `Rem`.

  Add the `Rem` implementation.

  Add a test for the remainder operation on `Weight`

  Close #4171

ACKs for top commit:
  Kixunil:
    ACK 8007840676
  tcharding:
    ACK 8007840676
  apoelstra:
    ACK 80078406768aa5f8e4d21d42cc1d1fe9abeed1ea; successfully ran local tests

Tree-SHA512: cfcbc49a944146f7ba24a2f7b7f79ed2e2758ba2a23e9e69d9662afb5379dd74c646ff787c0e8218053e70410353cb74115e4c03bfdaafc8a1f9a4b0e51a3e15
2025-03-04 17:42:14 +00:00
..
amount Update mod.rs 2025-02-28 12:34:21 +01:00
fee_rate units: replace a gazillion more macro calls with new macro 2025-02-25 20:31:45 +00:00
locktime Kill remaining mutants 2025-01-21 17:01:36 -06:00
block.rs 2025-01-12 automated rustfmt nightly 2025-01-12 01:23:13 +00:00
fee.rs Use uniform return statement in docs 2025-03-03 14:06:01 +11:00
internal_macros.rs units: extend op reference macro to handle generics and where clauses 2025-02-25 20:31:45 +00:00
lib.rs Improve docs crate headings 2025-03-03 13:28:01 +11:00
parse.rs units: Improve code comment on macros 2025-02-28 08:47:11 +11:00
weight.rs Add a test for remainder 2025-03-03 20:47:01 +00:00