Skip to content

Commit dac1ee3

Browse files
refactor: happy clippy
1 parent 21824a6 commit dac1ee3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/client.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -319,7 +319,7 @@ impl<T: Read + Write + Unpin + fmt::Debug> Client<T> {
319319
let challenge = if let Some(text) = information {
320320
ok_or_unauth_client_err!(
321321
base64::decode(text).map_err(|e| Error::Parse(
322-
ParseError::Authentication(text.to_string(), Some(e))
322+
ParseError::Authentication((*text).to_string(), Some(e))
323323
)),
324324
self
325325
)

0 commit comments

Comments
 (0)