Repository navigation
Commit 5aca73c
committed
refactor(pm): state the transparent loop's bound structurally instead of guarding it
A length guard no head can reach is a line no case can pin. `before` is the
slice ending where a match begins that runs to the head's last character, so
every pass drops two characters or more and an empty head matches nothing.
Claude-Session: https://claude.ai/code/session_01AmH9bKvGoLjiY86Q4Z3og2
Co-Authored-By: Claude <noreply@anthropic.com>1 parent 4fbe743 commit 5aca73c
1 file changed
Lines changed: 7 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3107 | 3107 | | |
3108 | 3108 | | |
3109 | 3109 | | |
3110 | | - | |
3111 | | - | |
3112 | | - | |
3113 | | - | |
3114 | | - | |
| 3110 | + | |
| 3111 | + | |
| 3112 | + | |
| 3113 | + | |
| 3114 | + | |
| 3115 | + | |
| 3116 | + | |
3115 | 3117 | | |
3116 | 3118 | | |
3117 | 3119 | | |
| |||
3130 | 3132 | | |
3131 | 3133 | | |
3132 | 3134 | | |
3133 | | - | |
3134 | 3135 | | |
3135 | 3136 | | |
3136 | 3137 | | |
| |||
0 commit comments