tidy up some clippy warnings

This commit is contained in:
Sean McArthur
2017-05-05 14:13:54 -07:00
parent 7d457b4f5a
commit b5475f6903
2 changed files with 5 additions and 5 deletions

View File

@@ -46,7 +46,7 @@ impl StdError for Error {
match *self {
Error::Http(ref e) => Some(e),
Error::Serialize(ref e) => Some(&**e),
Error::TooManyRedirects => None,
Error::TooManyRedirects |
Error::RedirectLoop => None,
Error::__DontMatchMe => unreachable!()
}