Skip to content

Commit

Permalink
Apply clippy suggestions
Browse files Browse the repository at this point in the history
  • Loading branch information
djc committed Oct 10, 2024
1 parent dace1fc commit 9ed8eef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/custom_service_account.rs
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ impl<'a> Claims<'a> {
let mut jwt = String::new();
URL_SAFE.encode_string(GOOGLE_RS256_HEAD, &mut jwt);
jwt.push('.');
URL_SAFE.encode_string(&serde_json::to_string(self).unwrap(), &mut jwt);
URL_SAFE.encode_string(serde_json::to_string(self).unwrap(), &mut jwt);

let signature = signer.sign(jwt.as_bytes())?;
jwt.push('.');
Expand Down

0 comments on commit 9ed8eef

Please sign in to comment.