News for hackers. Stuff that matters.
Re:A Rust Shaped Hole by mikojan on Friday July 18, 2025 @01:15AM (#44601441)
You don't have to suppress it, you just write `void` in front of the floating promise.

Which is arguably the correct way to handle this situation anyway. It makes it unmistakably clear that you are intentionally throwing away a return value.

There are no comments on this comment yet.