Commit 90ceb38
committed
docs(coerce): describe the zero-sentinel rule by its contract
The comment justified the min>0 guard with edit's occurrence as the
0-indexed example, but occurrence became 1-based in the v0.49 surface
change and no caller passes min=0 today. Describing the rule by the
field's accepted domain keeps it true as callers change.1 parent 90a28bd commit 90ceb38
1 file changed
Lines changed: 2 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
166 | 166 | | |
167 | 167 | | |
168 | 168 | | |
169 | | - | |
170 | | - | |
171 | | - | |
172 | | - | |
| 169 | + | |
| 170 | + | |
173 | 171 | | |
174 | 172 | | |
175 | 173 | | |
| |||
0 commit comments