uazu / qcell

Statically-checked alternatives to RefCell and RwLock
Apache License 2.0
356 stars 22 forks source link

Default is not implemented for LCell #41

Closed SoniEx2 closed 1 year ago

SoniEx2 commented 1 year ago

We feel like LCell could just impl Default?

(Also TCell and TLCell?)

uazu commented 1 year ago

Okay, I've implemented this. Whilst #[derive(Default)] worked for LCell, it added Q: Default for the other two cells, which is unhelpful. So I implemented them all manually.