dalek-cryptography / curve25519-dalek

A pure-Rust implementation of group operations on Ristretto and Curve25519
Other
887 stars 452 forks source link

Replace `unwrap_u8` with `into` #528

Closed tarcieri closed 1 year ago

tarcieri commented 1 year ago

Leverages the From<Choice> impl for bool where applicable instead, which results in clearer logic which more closely matches bool.