allow deprecated on Error::cause
This commit is contained in:
		| @@ -276,6 +276,7 @@ impl StdError for Error { | |||||||
|         } |         } | ||||||
|     } |     } | ||||||
|  |  | ||||||
|  |     #[allow(deprecated)] | ||||||
|     fn cause(&self) -> Option<&StdError> { |     fn cause(&self) -> Option<&StdError> { | ||||||
|         match self.inner.kind { |         match self.inner.kind { | ||||||
|             Kind::Http(ref e) => e.cause(), |             Kind::Http(ref e) => e.cause(), | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user