We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bb13922 commit 08b1515Copy full SHA for 08b1515
rust/pyxel-engine/src/pyxel.rs
@@ -93,7 +93,7 @@ pub static TONES: LazyLock<shared_type!(Vec<SharedTone>)> = LazyLock::new(|| {
93
1 => set_default_tone!(tone, DEFAULT_TONE_1),
94
2 => set_default_tone!(tone, DEFAULT_TONE_2),
95
3 => set_default_tone!(tone, DEFAULT_TONE_3),
96
- _ => {}
+ _ => panic!(),
97
}
98
99
0 commit comments