move Debug impls next to structs

This commit is contained in:
🪞👃🪞 2024-11-27 00:53:01 +01:00
parent 71e19c9800
commit 763063f4ed
5 changed files with 47 additions and 50 deletions

View file

@ -64,7 +64,7 @@ impl From<&Arc<Transport>> for ClockModel {
impl std::fmt::Debug for ClockModel {
fn fmt (&self, f: &mut std::fmt::Formatter<'_>) -> std::result::Result<(), std::fmt::Error> {
f.debug_struct("editor")
f.debug_struct("ClockModel")
.field("playing", &self.playing)
.field("started", &self.started)
.field("current", &self.current)