Commit ddb1090
fix: inventory slot bounds check (#900)
## Summary
- prevent panic when mutating invalid inventory slots
## Testing
- `cargo fmt --all -- --check` *(fails: could not download toolchain)*
- `cargo test --locked --all --no-run` *(fails: could not download
toolchain)*
---------
Co-authored-by: TestingPlant <44930139+TestingPlant@users.noreply.github.com>1 parent 2e3e0d4 commit ddb1090
1 file changed
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
326 | 326 | | |
327 | 327 | | |
328 | 328 | | |
329 | | - | |
330 | | - | |
331 | | - | |
| 329 | + | |
| 330 | + | |
| 331 | + | |
332 | 332 | | |
333 | 333 | | |
334 | 334 | | |
| |||
0 commit comments