mirror of
https://github.com/librespot-org/librespot.git
synced 2025-10-03 01:39:28 +02:00
Fix warning and clippy lints
This commit is contained in:
parent
27e1274dcb
commit
9d80521e09
4 changed files with 6 additions and 6 deletions
|
@ -87,10 +87,10 @@ impl SpotifyId {
|
|||
|
||||
/// Returns whether this `SpotifyId` is for a playable audio item, if known.
|
||||
pub fn is_playable(&self) -> bool {
|
||||
return matches!(
|
||||
matches!(
|
||||
self.item_type,
|
||||
SpotifyItemType::Episode | SpotifyItemType::Track
|
||||
);
|
||||
)
|
||||
}
|
||||
|
||||
/// Parses a base16 (hex) encoded [Spotify ID] into a `SpotifyId`.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue