Fix updated clippy grumbles (#733)

* Revert "Pin Rust Nightly to 2020-12-17 (#652)"

This reverts commit e54e6f7e3d34c28d698e637f9099162b3c1917e9.

* fix clippy

* clippy again

* more clippy in test code

* and new cargo fmt

* another try
This commit is contained in:
Svyatoslav Nikolsky
2021-02-17 15:38:25 +03:00
committed by Bastian Köcher
parent 85bb45b5d3
commit 90113303f1
14 changed files with 31 additions and 11 deletions
+1 -2
View File
@@ -57,8 +57,7 @@ impl MaybeConnectionError for Error {
fn is_connection_error(&self) -> bool {
matches!(
*self,
Error::Request(RequestError::TransportError(_))
| Error::ClientNotSynced(_),
Error::Request(RequestError::TransportError(_)) | Error::ClientNotSynced(_),
)
}
}