forked from rust-bitcoin/rust-bitcoin
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
68aac98 Mark functions `const` (Jamil Lambert, PhD) Pull request description: Following on from rust-bitcoin#3608 and rust-bitcoin#1174 more functions have been marked as const. Mark `checked_` functions in `units/src/fee_rate.rs` as const. Replace `map()` and `?` operators, which are not allowed in const context, with match statements. ACKs for top commit: apoelstra: ACK 68aac98; successfully ran local tests; nice tcharding: ACK 68aac98 Tree-SHA512: 2165f0fdb2bbbd68223646c7f788ec3b637cf2bec06a9faee8b252900fac0517985047d5e88ec074b6d9121fcb3a3774a62f326e53e1ceaa041d65a4e2e35fb6
- Loading branch information
Showing
1 changed file
with
37 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters