Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
delifue
on Aug 30, 2024
|
parent
|
context
|
favorite
| on:
Rust's Ugly Syntax (2023)
In lifetime, subtype means longer lifetime (it's unintuitive). 'a : 'b means 'a is a subtype of 'b, which contains 'b and can be longer.
Rust can improve this by introducing syntax like `'a contains 'b`
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
Rust can improve this by introducing syntax like `'a contains 'b`