Clippy work towards rust 1.38 (#6219)

This commit is contained in:
Michael Vines
2019-10-02 18:04:18 -07:00
committed by GitHub
parent c06876eb3d
commit 13fc518268
12 changed files with 75 additions and 78 deletions

View File

@@ -339,7 +339,7 @@ impl SyncClient for ThinClient {
}
Err(e) => {
self.optimizer.report(index, std::u64::MAX);
Err(e)?
Err(e.into())
}
}
}
@@ -380,7 +380,7 @@ impl SyncClient for ThinClient {
}
Err(e) => {
self.optimizer.report(index, std::u64::MAX);
Err(e)?
Err(e.into())
}
}
}