Is there any reason that Cell is implemented as a struct containing
only an Option? Wouldn't it be equivalent to have Cell's methods
implemented in Option, and then apply Cell as a trait? How do you
determine when to make the split between more traits, and a new
struct?
_______________________________________________
Rust-dev mailing list
[email protected]
https://mail.mozilla.org/listinfo/rust-dev

Reply via email to