Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
jenadine
on April 15, 2023
|
parent
|
context
|
favorite
| on:
Optional If Expressions
The `?` operator works with Option. I know it is actually through the Try trait internally, but since it is only implemented for a few built-in type, it makes Option special.
masklinn
on April 15, 2023
[–]
Meh. That's just because it's an experimental / unstable trait.
That Rev or Peekable implement TrustedLen does not make them special.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: