Skip to content

Commit

Permalink
fix needless borrow
Browse files Browse the repository at this point in the history
  • Loading branch information
asuper0 committed Feb 6, 2024
1 parent 2a3b3f5 commit 22950cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion onvif/src/soap/auth/username_token.rs
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ impl UsernameToken {

UsernameToken {
username: username.to_string(),
nonce: base64::encode(&nonce),
nonce: base64::encode(nonce),
digest: base64::encode(digest),
created,
}
Expand Down

0 comments on commit 22950cc

Please sign in to comment.