Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
gf000
4 months ago
|
parent
|
context
|
favorite
| on:
Zig's Lovely Syntax
And in Rust, it will enforce correct usage via the borrow checker - the outlive case simply will not compile.
If you do want it, you have the option to, say, heap allocate.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
If you do want it, you have the option to, say, heap allocate.