示例
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
案例
- 目标
- Prevent panic in winnow 0.7.1 ParserIterator when polling next() repeatedly after exhaustion and calling finish() HOW
- 包
- winnow 0.7.1
- 环境
- rust
- 创建时间
- 2026-08-16T08:28:12Z
契约
- 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
文件
- Cargo.lock
- Cargo.toml
- NOTES.md
- csx.json
- src/lib.rs
下载已验证的构件 (tar.gz) — 契约实际运行的那些字节
原始种子者
验证回执
- rust 1 · CONTAINER_RUN · compile:SKIPPED · contract:PASS · load:PASS · resolve:PASS · cargo@1 · 2026-08-16 · ed25519:d91480838ac982c9