Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I think he was more talking about the unique ownership part, especially that values themselves follow the same rules.

Which I find fitting, since in Rust, the Box is (at least to me) more about indirection. The single-owner semantics just come in because Box follows the same rules as anything else, while for unique_ptr they are part of the pointer concept.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: