diff options
Diffstat (limited to 'src/proxy_config.rs')
-rw-r--r-- | src/proxy_config.rs | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/proxy_config.rs b/src/proxy_config.rs index 2807a3b..1b46305 100644 --- a/src/proxy_config.rs +++ b/src/proxy_config.rs @@ -60,13 +60,17 @@ impl std::fmt::Display for ProxyEntry { HostDescription::Hostname(h) => write!(f, "{}", h)?, HostDescription::Pattern(p) => write!(f, "Pattern('{}')", p.as_str())?, } - write!(f, "{} {}", self.path_prefix.as_ref().unwrap_or(&String::new()), self.priority)?; + write!( + f, + "{} {}", + self.path_prefix.as_ref().unwrap_or(&String::new()), + self.priority + )?; if !self.add_headers.is_empty() { write!(f, "+Headers: {:?}", self.add_headers)?; } Ok(()) } - } #[derive(Debug)] |