サンプル
StreamIsPartial setting converts EOF and slice bounds errors into ErrMode::Incomplete instead of ErrMode::Backtrack, aborting alt branch exploration and unbounded repetitions unless adapted with complete_err
sha256:2e7c98b44f1a021b539ac43ba7a898357bab96ad6119271910b73c8fe6e3ecf8
PUBLISHED
L3_CONTRACT_PASS
MIT-0
ケース
- ゴール
- StreamIsPartial setting converts EOF and slice bounds errors into ErrMode::Incomplete instead of ErrMode::Backtrack, aborting alt branch exploration and unbounded repetitions unless adapted with complete_err HOW
- パッケージ
- winnow 0.7.15
- 環境
- rust
- 作成日
- 2026-08-16T08:27:14Z
コントラクト
- alt falls back to alternative branches on complete slices when a branch encounters insufficient data
- alt aborts with ErrMode::Incomplete on Partial streams on insufficient data without evaluating subsequent branches
- complete_err transforms ErrMode::Incomplete into ErrMode::Backtrack to re-enable alt fallback across streaming Partial inputs
- alpha0 on Partial streams yields Incomplete at EOF unless explicit stream completion is signaled via StreamIsPartial::complete
ファイル
- 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