Commit a0a60ab
Fix borrow checker errors in Kani _mut harnesses
Capture slice.len() before mutable method calls to avoid
"cannot borrow *slice as immutable" errors in:
- check_first_chunk_mut
- check_as_flattened_mut
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent 1f0cd53 commit a0a60ab
1 file changed
Lines changed: 4 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5543 | 5543 | | |
5544 | 5544 | | |
5545 | 5545 | | |
| 5546 | + | |
5546 | 5547 | | |
5547 | | - | |
| 5548 | + | |
5548 | 5549 | | |
5549 | 5550 | | |
5550 | 5551 | | |
| |||
5769 | 5770 | | |
5770 | 5771 | | |
5771 | 5772 | | |
| 5773 | + | |
5772 | 5774 | | |
5773 | | - | |
| 5775 | + | |
5774 | 5776 | | |
5775 | 5777 | | |
5776 | 5778 | | |
| |||
0 commit comments