mirror of
https://github.com/librespot-org/librespot.git
synced 2024-12-18 17:11:53 +00:00
Fix depreciated cause error, bump Travis min. version to 1.27.0
This commit is contained in:
parent
8978559d3a
commit
c83c95b7a2
2 changed files with 3 additions and 3 deletions
|
@ -1,6 +1,6 @@
|
||||||
language: rust
|
language: rust
|
||||||
rust:
|
rust:
|
||||||
- 1.26.0
|
- 1.27.0
|
||||||
- stable
|
- stable
|
||||||
- beta
|
- beta
|
||||||
- nightly
|
- nightly
|
||||||
|
|
|
@ -75,7 +75,7 @@ impl error::Error for VorbisError {
|
||||||
error::Error::description(&self.0)
|
error::Error::description(&self.0)
|
||||||
}
|
}
|
||||||
|
|
||||||
fn cause(&self) -> Option<&error::Error> {
|
fn source(&self) -> Option<&(dyn error::Error + 'static)> {
|
||||||
error::Error::cause(&self.0)
|
error::Error::source(&self.0)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue