Commit d272fea
committed
docs(codec): record the no-sentinel invariant as a maintainer comment
Two-layer rule sitting above MAX_BASIN_IDX:
- encoder scratch state → Option<u16>
- wire format / persisted → plain u16, every value real
So the next editor doesn't reach for a magic value when what they
actually want is type-level optionality.1 parent 7fdcfb5 commit d272fea
1 file changed
Lines changed: 18 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
62 | 80 | | |
63 | 81 | | |
64 | 82 | | |
| |||
0 commit comments