tsk-271: Warning fix
This commit is contained in:
1 file changed
+5
-5
@@ -33,11 +33,11 @@ pub mod queue {
|
|||||||
}
|
}
|
||||||
|
|
||||||
fn valid_device_type(&self) -> bool {
|
fn valid_device_type(&self) -> bool {
|
||||||
match self.device_type.as_str() {
|
matches!(
|
||||||
super::super::PLAYBACK_QUEUE_DEVICE_TYPE_BROWSER => true,
|
self.device_type.as_str(),
|
||||||
super::super::PLAYBACK_QUEUE_DEVICE_TYPE_MOBILE => true,
|
super::super::PLAYBACK_QUEUE_DEVICE_TYPE_BROWSER
|
||||||
_ => false,
|
| super::super::PLAYBACK_QUEUE_DEVICE_TYPE_MOBILE
|
||||||
}
|
)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user