Remove depreciated error description method

This commit is contained in:
Sasha Hilton 2021-01-31 01:36:10 +00:00
parent d010cb7999
commit 9ad68dfb76

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)
} }