Skip to content

Commit 9ed8eef

Browse files
committed
Apply clippy suggestions
1 parent dace1fc commit 9ed8eef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/custom_service_account.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ impl<'a> Claims<'a> {
181181
let mut jwt = String::new();
182182
URL_SAFE.encode_string(GOOGLE_RS256_HEAD, &mut jwt);
183183
jwt.push('.');
184-
URL_SAFE.encode_string(&serde_json::to_string(self).unwrap(), &mut jwt);
184+
URL_SAFE.encode_string(serde_json::to_string(self).unwrap(), &mut jwt);
185185

186186
let signature = signer.sign(jwt.as_bytes())?;
187187
jwt.push('.');

0 commit comments

Comments
 (0)