3 ms·
> You can't make your own types with niches in stable Rust You can, provided they are wrapper around NonZero types. See https://docs.rs/nonmax/latest/nonmax/ h
by Ygg2 1y ago
> You can't make your own types with niches in stable Rust
You can, provided they are wrapper around NonZero types. See https://docs.rs/nonmax/latest/nonmax/ https://docs.rs/nonmax/latest/nonmax/
Hence my comment before NonZero types or Rust nightly.