Skip to content

Commit

Permalink
cargo fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
a-wing committed Dec 21, 2024
1 parent 7d4d02c commit ad28520
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions livetwo/src/rtspclient.rs
Original file line number Diff line number Diff line change
Expand Up @@ -454,10 +454,7 @@ fn generate_digest_response(
hasher.update(format!(
"{}:{}:{}",
format_args!("{:x}", {
let hasher = Md5::new_with_prefix(format!(
"{}:{}:{}",
username, realm, password
));
let hasher = Md5::new_with_prefix(format!("{}:{}:{}", username, realm, password));
hasher.finalize()
}),
nonce,
Expand Down

0 comments on commit ad28520

Please # to comment.