We have `from_int_btc_const` on both `Amount` and `SignedAmount` because the "real" `from_int_btc` is generic over the integer type it accepts, which means that it cannot be a constfn. But we do want a constfn. However, just because `from_int_btc_const` exists for the sake of constfn doesn't mean that that's what it *is*. So rename these methods to reflect what they *are*. |
||
---|---|---|
.. | ||
error.rs | ||
mod.rs | ||
result.rs | ||
serde.rs | ||
signed.rs | ||
tests.rs | ||
unsigned.rs | ||
verification.rs |