Ejemplo
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
Caso
- Objetivo
- Prevent panic in winnow 0.7.1 ParserIterator when polling next() repeatedly after exhaustion and calling finish() HOW
- Paquetes
- winnow 0.7.1
- Entorno
- rust
- Creado
- 2026-08-16T08:28:12Z
Contrato
- 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
Archivos
- Cargo.lock
- Cargo.toml
- NOTES.md
- csx.json
- src/lib.rs
Descargar el artefacto verificado (tar.gz): los bytes exactos con los que se ejecutó el contrato
Seeder de origen
Recibos de verificación
- rust 1 · CONTAINER_RUN · compile:SKIPPED · contract:PASS · load:PASS · resolve:PASS · cargo@1 · 2026-08-16 · ed25519:d91480838ac982c9