3 ms·Are you referring to objects that contain inner pointers? Otherwise you can just return T or Box<T>.by comex 11y agoAre you referring to objects that contain inner pointers? Otherwise you can just return T or Box<T>.Animats 11y agoHas "Box" settled down yet? The last time I looked, box syntax and semantics were still in flux.pcwalton 11y agoBox is stable and fully supported. The built-in "box" syntax is unstable still, but Box::new suffices in almost all cases.