Closed SuchAFuriousDeath closed 3 months ago
Let's see if this compiles.
I don't know if this is niche knowledge or not, but Rust recently switched from distinct NonZero types to using a generic trait. so we can utliize this here.
EDIT: oops, it has not been stabilized yet
Seems like rust was updated, so this can be merged now
Let's see if this compiles.
I don't know if this is niche knowledge or not, but Rust recently switched from distinct NonZero types to using a generic trait. so we can utliize this here.
EDIT: oops, it has not been stabilized yet