jorendorff / atomicbox

Safe atomic Box types for Rust
Other
22 stars 11 forks source link

Added `AtomicOptionBox::none()`, since `AtomicOptionBox::new(None)` is not const. #3

Closed kennytm closed 2 years ago

kennytm commented 4 years ago

As titled. This allows one to use AtomicOptionBox in a static.

jorendorff commented 2 years ago

Renaming from master to main accidentally closed this. Bizarrely I don't see an easy way to fix the base branch, but I'm definitely going to merge this.

jorendorff commented 2 years ago

This is merged. I'll do a release soon. Thanks, @kennytm!