prefer unimplemented! for unimplemented functions

This commit is contained in:
Oystein Kristoffer Tveit 2024-11-30 03:36:00 +01:00
parent d45502a43e
commit 1561ae2e80
Signed by: oysteikt
GPG Key ID: 9F2F7D8250F35146
3 changed files with 3 additions and 5 deletions

View File

@ -31,8 +31,6 @@ impl Command for Outputs {
fn parse_response(
parts: ResponseAttributes<'_>,
) -> Result<Self::Response, ResponseParserError> {
todo!()
// debug_assert!(parts.is_empty());
// Ok(())
unimplemented!()
}
}

View File

@ -17,7 +17,7 @@ impl Command for GetVol {
fn parse_response(
parts: ResponseAttributes<'_>,
) -> Result<Self::Response, ResponseParserError> {
todo!()
unimplemented!()
// let volume = get_property!(parts, Volume, "volume");
// let volume = match parts.get("volume") {
// Some(GenericResponseValue::Volume(v)) => *v,

View File

@ -22,6 +22,6 @@ impl Command for CurrentSong {
fn parse_response(
parts: ResponseAttributes<'_>,
) -> Result<Self::Response, ResponseParserError> {
todo!()
unimplemented!()
}
}