mimblewimble / grin

Minimal implementation of the Mimblewimble protocol.
https://grin.mw/
Apache License 2.0
5.04k stars 992 forks source link

refactor: simplify some exact instances of Option/Result combinators #3740

Closed huitseeker closed 6 months ago

huitseeker commented 1 year ago

This replaces some pattern-matches that are exact reimplementation of stdlib combinators.

This, as well as running clippy on the last commit involved changes that assume a more recent version of Rust, e.g.:

Opinions on this loosely held, feel free to suggest changes. First commit tool-aided by comby-rust

huitseeker commented 6 months ago

Cleaning my PR queue, feel free to re-open if interested.