Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
gpm
on Feb 8, 2022
|
parent
|
context
|
favorite
| on:
Some mistakes Rust doesn't catch
You disable the warning for the function?
dureuill
on Feb 8, 2022
[–]
Yes, which also serves as a way to explicitly point out that the "surprising operation" is intended. Hopefully this even reminds you of putting an explanatory comment there.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: