LLFourn / secp256kfun

A pure-rust secp256k1 library optimised for fun
BSD Zero Clause License
100 stars 29 forks source link

Remove .mark in favor of particular methods for each marker #115

Closed LLFourn closed 1 year ago

LLFourn commented 1 year ago

calling .mark::<NonZero>() caused friction and was overly complicated. I was being too clever when I designed this. I replaced it with a .non_zero() method. This is easier to call and read. I did this for all the other marker types as well.