mirror of
https://github.com/rust-lang/rust.git
synced 2025-11-18 05:28:02 +00:00
The old code used a heuristic to detect async functions and adjust their coverage spans to produce better output. But there's no need to resort to a heuristic when we can just check whether the current function is actually an `async fn`.