diff options
Diffstat (limited to 'src/protocol.rs')
-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), } |