Commit e2db7c7
committed
Avoid explicit
Previously, we'd explicitly `panic` on an APIMisuseError. While this
error type should still never happen, we avoid explicit panics in favor
of `debug_assert`s here.panics in handle_event
1 parent ea902a8 commit e2db7c7
1 file changed
Lines changed: 7 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
542 | 542 | | |
543 | 543 | | |
544 | 544 | | |
545 | | - | |
546 | | - | |
| 545 | + | |
| 546 | + | |
| 547 | + | |
| 548 | + | |
| 549 | + | |
| 550 | + | |
547 | 551 | | |
548 | 552 | | |
549 | 553 | | |
| |||
571 | 575 | | |
572 | 576 | | |
573 | 577 | | |
574 | | - | |
| 578 | + | |
575 | 579 | | |
576 | 580 | | |
577 | 581 | | |
| |||
0 commit comments