Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
aoeusnth1
on Dec 24, 2024
|
parent
|
context
|
favorite
| on:
Four limitations of Rust's borrow checker
This creates the fallback before knowing that you’ll need it.
mrcsd
on Dec 24, 2024
[–]
Not necessarily. Since the argument to `.or_else` is a function, the fallback value can be lazily evaluated.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: