Drop more 'static lifetime

This commit is contained in:
Cyril Plisko
2017-12-05 07:11:38 -05:00
parent 77cfffaaed
commit fd47a6c038
5 changed files with 18 additions and 20 deletions

View File

@@ -39,10 +39,10 @@ pub mod client {
impl fmt::Debug for Context {
fn fmt(&self, f: &mut fmt::Formatter) -> Result<(), fmt::Error> {
const TLS_CONNECTOR: &'static &'static str = &"TlsConnector { .. }";
const TLS_CONNECTOR: &str = "TlsConnector { .. }";
f.debug_struct("Context")
.field("domain", &self.domain)
.field("tls_connector", TLS_CONNECTOR)
.field("tls_connector", &TLS_CONNECTOR)
.finish()
}
}