• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

toml-rs / toml / 24106830919
81%

Build:
DEFAULT BRANCH: main
Ran 07 Apr 2026 10:10PM UTC
Jobs 1
Files 147
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

07 Apr 2026 10:08PM UTC coverage: 80.931% (+0.1%) from 80.8%
24106830919

push

github

web-flow
fix(edit): Preserve outer spans for malformed containers (#1141)

## Summary

Preserve outer spans for malformed arrays and inline tables during error
recovery in `toml_edit`. This follows the existing `toml` parser
approach and prevents a later panic in `document::descend_path` when
reporting a dotted-key error.

## Repro

Minimized input:

```text
={[]\r].
```

Before this change, parsing this input could panic with:

```text
all items have spans
```

The malformed container now keeps its outer source span, so parsing
returns `Err` instead of panicking.

24 of 24 new or added lines in 4 files covered. (100.0%)

13352 of 16498 relevant lines covered (80.93%)

5.16 hits per line

Jobs
ID Job ID Ran Files Coverage
1 24106830919.1 07 Apr 2026 10:10PM UTC 147
80.93
GitHub Action Run
Source Files on build 24106830919
  • Tree
  • List 147
  • Changed 5
  • Source Changed 0
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 165302fd on github
  • Prev Build on main (#23916649490)
  • Next Build on main (#24107081860)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc