Chore: Apply latest nightly clippy lints
This commit is contained in:
@@ -46,12 +46,12 @@ impl Debug for TrackCommand {
|
||||
Self::Play => "Play".to_string(),
|
||||
Self::Pause => "Pause".to_string(),
|
||||
Self::Stop => "Stop".to_string(),
|
||||
Self::Volume(vol) => format!("Volume({})", vol),
|
||||
Self::Volume(vol) => format!("Volume({vol})"),
|
||||
Self::Seek(s) => format!("Seek({:?})", s.time),
|
||||
Self::AddEvent(evt) => format!("AddEvent({:?})", evt),
|
||||
Self::AddEvent(evt) => format!("AddEvent({evt:?})"),
|
||||
Self::Do(_f) => "Do([function])".to_string(),
|
||||
Self::Request(tx) => format!("Request({:?})", tx),
|
||||
Self::Loop(loops) => format!("Loop({:?})", loops),
|
||||
Self::Request(tx) => format!("Request({tx:?})"),
|
||||
Self::Loop(loops) => format!("Loop({loops:?})"),
|
||||
Self::MakePlayable(_) => "MakePlayable".to_string(),
|
||||
}
|
||||
)
|
||||
|
||||
@@ -37,7 +37,7 @@ impl Display for ControlError {
|
||||
write!(f, "given event listener can't be fired on a track")
|
||||
},
|
||||
ControlError::Play(p) => {
|
||||
write!(f, "i/o request on track failed: {}", p)
|
||||
write!(f, "i/o request on track failed: {p}")
|
||||
},
|
||||
ControlError::Dropped => write!(f, "request was replaced by another of same type"),
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user