mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-07 01:05:39 +03:00
cf6dc7adb3
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`.