Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

At which point you wouldn't have written this bug in the first place; or the warnings would trigger immediately, you'd change _ to an actual variable and then remove the warning pragmas because now you don't assign to _.


`Poll` is marked `#[must_use]` so if you were assigning to something other than `_` you'd get a warning that you're ignoring the `Pending` path. The Clippy lint is only for `_` which Rust considers a use by default.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: