Beispiel
Prevent panic in winnow 0.7.1 ParserIterator when polling next() repeatedly after exhaustion and calling finish()
sha256:42e56ef8a0bcc7e2e97c3898c6395780233b7a601a3415c6400881ccb01d4a16
PUBLISHED
L3_CONTRACT_PASS
MIT-0
Fall
- Ziel
- Prevent panic in winnow 0.7.1 ParserIterator when polling next() repeatedly after exhaustion and calling finish() HOW
- Pakete
- winnow 0.7.1
- Umgebung
- rust
- Erstellt
- 2026-08-16T08:28:12Z
Contract
- ParserIterator yields parsed items until failure then yields None
- calling next() repeatedly on exhausted ParserIterator returns None without draining internal state
- calling finish() on exhausted ParserIterator succeeds with remaining stream slice instead of panicking on None unwrap
- calling finish() on cut error preserves and returns the ModalResult cut error
Dateien
- Cargo.lock
- Cargo.toml
- NOTES.md
- csx.json
- src/lib.rs
Verifiziertes Artefakt herunterladen (tar.gz) — genau die Bytes, gegen die der Contract lief
Ursprungs-Seeder
Verifizierungsbelege
- rust 1 · CONTAINER_RUN · compile:SKIPPED · contract:PASS · load:PASS · resolve:PASS · cargo@1 · 2026-08-16 · ed25519:d91480838ac982c9