diff options
author | Jesse Luehrs <doy@tozt.net> | 2019-10-17 12:28:22 -0400 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2019-10-17 12:28:22 -0400 |
commit | efcd072f40b52be085e863df7f5421a5beada240 (patch) | |
tree | 615b87dc378fd82897a8551dfdee1968546ec97d | |
parent | d47cb39c8fb3e60bf47690626f5287e3cd981c8c (diff) | |
download | teleterm-efcd072f40b52be085e863df7f5421a5beada240.tar.gz teleterm-efcd072f40b52be085e863df7f5421a5beada240.zip |
clippy
-rw-r--r-- | src/protocol.rs | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/protocol.rs b/src/protocol.rs index d574f26..2827f76 100644 --- a/src/protocol.rs +++ b/src/protocol.rs @@ -354,8 +354,10 @@ impl Message { } // these are security-sensitive, keep them out of logs - Self::OauthRequest { .. } => format!("OauthRequest {{ .. }})"), - Self::OauthResponse { .. } => format!("OauthResponse {{ .. }})"), + Self::OauthRequest { .. } => "OauthRequest {{ .. }}".to_string(), + Self::OauthResponse { .. } => { + "OauthResponse {{ .. }}".to_string() + } _ => format!("{:?}", self), } |