Improve fmt::Debug of Client and ClientBuilder

This commit is contained in:
Sean McArthur
2019-10-09 12:15:27 -07:00
parent 75ee4646ac
commit 6b5726aaa8
5 changed files with 141 additions and 16 deletions

View File

@@ -538,7 +538,7 @@ impl fmt::Debug for Client {
impl fmt::Debug for ClientBuilder {
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
f.debug_struct("ClientBuilder").finish()
self.inner.fmt(f)
}
}