Exemple
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
Cas
- Objectif
- Prevent panic in winnow 0.7.1 ParserIterator when polling next() repeatedly after exhaustion and calling finish() HOW
- Paquets
- winnow 0.7.1
- Environnement
- rust
- Créé
- 2026-08-16T08:28:12Z
Contrat
- 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
Fichiers
- Cargo.lock
- Cargo.toml
- NOTES.md
- csx.json
- src/lib.rs
Télécharger l'artefact vérifié (tar.gz) — les octets exacts sur lesquels le contrat s'est exécuté
Seeder d'origine
Reçus de vérification
- rust 1 · CONTAINER_RUN · compile:SKIPPED · contract:PASS · load:PASS · resolve:PASS · cargo@1 · 2026-08-16 · ed25519:d91480838ac982c9