LLFourn / secp256kfun

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

Less marking #77

Closed LLFourn closed 2 years ago

LLFourn commented 2 years ago

Although marking is a core concept. A lot of the time all you need is to normalize or assert that something is non-zero. So we have .normalize() and .expect_nonzero(). This avoid importing ::marker::* all the time.