Improve fmt::Debug of Client and ClientBuilder
This commit is contained in:
@@ -48,7 +48,7 @@ use winreg::RegKey;
|
||||
/// # Ok(())
|
||||
/// # }
|
||||
/// ```
|
||||
#[derive(Clone, Debug)]
|
||||
#[derive(Clone)]
|
||||
pub struct Proxy {
|
||||
intercept: Intercept,
|
||||
}
|
||||
@@ -262,6 +262,12 @@ impl Proxy {
|
||||
}
|
||||
}
|
||||
|
||||
impl fmt::Debug for Proxy {
|
||||
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
|
||||
f.debug_tuple("Proxy").field(&self.intercept).finish()
|
||||
}
|
||||
}
|
||||
|
||||
impl ProxyScheme {
|
||||
// To start conservative, keep builders private for now.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user