diff options
| author | Zalathar <Zalathar@users.noreply.github.com> | 2023-12-19 22:05:34 +1100 |
|---|---|---|
| committer | Zalathar <Zalathar@users.noreply.github.com> | 2023-12-20 18:48:04 +1100 |
| commit | cf6dc7adb3b9e9fc67f947bfffb75f852883b050 (patch) | |
| tree | 955387ade0e0595c5d4bd38bfe31f6afba8ad65a /tests/rustdoc-js-std/parser-errors.js | |
| parent | 2a0290a8025b668b9e86c59379cfb8a8a9d91813 (diff) | |
| download | rust-cf6dc7adb3b9e9fc67f947bfffb75f852883b050.tar.gz rust-cf6dc7adb3b9e9fc67f947bfffb75f852883b050.zip | |
coverage: Check for `async fn` explicitly, without needing a heuristic
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`.
Diffstat (limited to 'tests/rustdoc-js-std/parser-errors.js')
0 files changed, 0 insertions, 0 deletions
