fix warnings

This commit is contained in:
🪞👃🪞 2025-05-10 21:44:36 +03:00
parent 2ef9628ab8
commit e5752ea4b0
13 changed files with 16 additions and 22 deletions

View file

@ -286,7 +286,7 @@ impl MidiViewer for PianoHorizontal {
}
impl std::fmt::Debug for PianoHorizontal {
fn fmt (&self, f: &mut std::fmt::Formatter<'_>) -> std::result::Result<(), std::fmt::Error> {
fn fmt (&self, f: &mut Formatter<'_>) -> std::result::Result<(), std::fmt::Error> {
let buffer = self.buffer.read().unwrap();
f.debug_struct("PianoHorizontal")
.field("time_zoom", &self.range.time_zoom)