Commit 8ce4762
refactor(cache): destructure CacheEntryKey in mismatch detection
Use struct field matching so adding a new field to CacheEntryKey
causes a compile error here, forcing the developer to handle it.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent 2c8bd52 commit 8ce4762
1 file changed
Lines changed: 8 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
238 | 238 | | |
239 | 239 | | |
240 | 240 | | |
241 | | - | |
242 | | - | |
| 241 | + | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
| 245 | + | |
| 246 | + | |
| 247 | + | |
243 | 248 | | |
244 | 249 | | |
245 | 250 | | |
246 | 251 | | |
247 | | - | |
| 252 | + | |
248 | 253 | | |
249 | 254 | | |
250 | 255 | | |
| |||
0 commit comments