rust-bitcoin-unsafe-fast/units/src
merge-script 12cef1d16b
Merge rust-bitcoin/rust-bitcoin#4389: Create impl_mul_assign and impl_div_assign macros
a92cc71f65 Create impl_mul_assign and impl_div_assign macros (Shing Him Ng)

Pull request description:

  The macros were called on type-rhs pairs that have an existing implementation of ops::Mul and ops::Div, respectively, that have an `Output` of `Self`

  Not as many types as I would have thought, but most of the operations result in a `NumOpResult`, which can't be then assigned back to the variable.

  Closes #4172

ACKs for top commit:
  apoelstra:
    ACK a92cc71f658771776557ea0a40d1d095d3b6d482; successfully ran local tests

Tree-SHA512: 30cfb077b9ba65af991eb17fa05ffc4a870c3f4ded746355d3a8577a71fe9a569588a882c2a936edcc9c88feede4d8bb1379a998e3f330894084a4e2fc434e6e
2025-04-25 14:08:00 +00:00
..
amount Create impl_mul_assign and impl_div_assign macros 2025-04-22 22:50:09 -05:00
fee_rate Run the formatter 2025-04-17 11:43:05 +10:00
locktime Make struct titles consistent 2025-04-15 21:23:31 +01:00
block.rs Use impl_add/sub_assign for block interval 2025-03-03 13:16:10 +11:00
fee.rs Run the formatter 2025-04-17 11:43:02 +10:00
internal_macros.rs Create impl_mul_assign and impl_div_assign macros 2025-04-22 22:50:09 -05:00
lib.rs units: Improve crate level docs 2025-04-14 14:33:26 +10:00
parse.rs Use parameters instead of arguments in rustdocs 2025-04-22 10:43:13 +01:00
result.rs Use a consistent rustdoc heading level of H1 `#` 2025-04-22 13:06:32 +01:00
time.rs Add privacy boundary to BlockTime 2025-04-17 11:43:05 +10:00
weight.rs Run the formatter 2025-04-17 11:43:05 +10:00