mirror of
https://github.com/oSumAtrIX/free-librespot.git
synced 2025-12-19 09:54:25 +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 {
|
pub fn is_cached(&self) -> bool {
|
||||||
matches!(self, AudioFile::Cached { .. })
|
match self {
|
||||||
|
AudioFile::Cached { .. } => true,
|
||||||
|
_ => false,
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue