Hacker News new | past | comments | ask | show | jobs | submit login

Are you referring to objects that contain inner pointers? Otherwise you can just return T or Box<T>.



Has "Box" settled down yet? The last time I looked, box syntax and semantics were still in flux.


Box is stable and fully supported. The built-in "box" syntax is unstable still, but Box::new suffices in almost all cases.




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

Search: