Error in code sample?
Error in code sample?
Posted Sep 30, 2025 0:31 UTC (Tue) by riking (subscriber, #95706)In reply to: Error in code sample? by Nikratio
Parent article: Canceling asynchronous Rust
The crux of the example is that the `timeout` function is invoking cancellation in a way that the code author didn't notice.