Merge pull request #585 from ericonr/patch-1

This commit is contained in:
Sasha Hilton 2021-02-02 01:10:27 +00:00 committed by GitHub
commit 4990351dba
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 7 deletions

4
Cargo.lock generated
View file

@ -1538,9 +1538,9 @@ dependencies = [
[[package]] [[package]]
name = "librespot-tremor" name = "librespot-tremor"
version = "0.1.0" version = "0.2.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b155a7dc4e4d272e01c37a1b85c1ee1bee7f04980ad4a7784c1a6e0f2de5929b" checksum = "97f525bff915d478a76940a7b988e5ea34911ba7280c97bd3a7673f54d68b4fe"
dependencies = [ dependencies = [
"cc", "cc",
"libc", "libc",

View file

@ -22,7 +22,7 @@ num-traits = "0.2"
tempfile = "3.1" tempfile = "3.1"
aes-ctr = "0.3" aes-ctr = "0.3"
librespot-tremor = { version = "0.1.0", optional = true } librespot-tremor = { version = "0.2.0", optional = true }
vorbis = { version ="0.0.14", optional = true } vorbis = { version ="0.0.14", optional = true }
[features] [features]

View file

@ -73,10 +73,6 @@ impl fmt::Display for VorbisError {
} }
impl error::Error for VorbisError { impl error::Error for VorbisError {
fn description(&self) -> &str {
error::Error::description(&self.0)
}
fn source(&self) -> Option<&(dyn error::Error + 'static)> { fn source(&self) -> Option<&(dyn error::Error + 'static)> {
error::Error::source(&self.0) error::Error::source(&self.0)
} }