Closed kstrohbeck closed 6 months ago
Comparing kstrohbeck:context-output-mode
(b4285d5) with main
(1f74da5)
✅ 24
untouched benchmarks
This pull request's base commit is no longer the HEAD commit of its target branch. This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.
Changes Missing Coverage | Covered Lines | Changed/Added Lines | % | ||
---|---|---|---|---|---|
src/error.rs | 9 | 10 | 90.0% | ||
<!-- | Total: | 9 | 10 | 90.0% | --> |
Files with Coverage Reduction | New Missed Lines | % | ||
---|---|---|---|---|
src/character/streaming.rs | 1 | 81.56% | ||
src/error.rs | 1 | 17.69% | ||
<!-- | Total: | 2 | --> |
Totals | |
---|---|
Change from base Build 8774369354: | 0.03% |
Covered Lines: | 1829 |
Relevant Lines: | 2933 |
Attention: Patch coverage is 90.00000%
with 1 lines
in your changes are missing coverage. Please review.
Project coverage is 62.11%. Comparing base (
1f74da5
) to head (b4285d5
).
Files | Patch % | Lines |
---|---|---|
src/error.rs | 90.00% | 1 Missing :warning: |
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Currently, the
nom::error::context
combinator callsparse
on its argument, which forces it to run in streaming mode (as well as making it emit output and errors.) By directly implementingParser
, we can pass theOutputMode
information down to the underlying parser.