mirror of
https://github.com/librespot-org/librespot.git
synced 2024-12-18 17:11:53 +00:00
Re-add support for Rust 1.40
This commit is contained in:
parent
f67ceb5f6d
commit
d3495cfed4
1 changed files with 4 additions and 1 deletions
|
@ -461,7 +461,10 @@ impl AudioFile {
|
|||
}
|
||||
|
||||
pub fn is_cached(&self) -> bool {
|
||||
matches!(self, AudioFile::Cached { .. })
|
||||
match self {
|
||||
AudioFile::Cached { .. } => true,
|
||||
_ => false,
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue