Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
comex
on Nov 1, 2015
|
parent
|
context
|
favorite
| on:
Rust Lifetimes
Are you referring to objects that contain inner pointers? Otherwise you can just return T or Box<T>.
Animats
on Nov 1, 2015
[–]
Has "Box" settled down yet? The last time I looked, box syntax and semantics were still in flux.
pcwalton
on Nov 1, 2015
|
parent
[–]
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: