mirror of
https://github.com/rust-lang/rust.git
synced 2025-10-08 05:06:52 +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`.