Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
ilammy
on May 6, 2022
|
parent
|
context
|
favorite
| on:
Bugs that the Rust compiler catches for you
Also, even if close() fails, you can no longer use the file descriptor anyway, since it might be already reused. The only thing you should do with the error from close() is log it to diagnose why it happened and prevent it next time.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: