Skip to content

Commit

Permalink
run cargo fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
Thomas-Avery committed Apr 9, 2024
1 parent 21e50cc commit a569241
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions crates/bitwarden/src/auth/renew.rs
Original file line number Diff line number Diff line change
Expand Up @@ -56,11 +56,8 @@ pub(crate) async fn renew_token(client: &mut Client) -> Result<()> {
.send(&client.__api_configurations)
.await?;

if let (
IdentityTokenResponse::Payload(r),
Some(state_file),
Ok(enc_settings),
) = (&result, state_file, client.get_encryption_settings())
if let (IdentityTokenResponse::Payload(r), Some(state_file), Ok(enc_settings)) =
(&result, state_file, client.get_encryption_settings())

Check warning on line 60 in crates/bitwarden/src/auth/renew.rs

View check run for this annotation

Codecov / codecov/patch

crates/bitwarden/src/auth/renew.rs#L59-L60

Added lines #L59 - L60 were not covered by tests
{
if let Some(enc_key) = enc_settings.get_key(&None) {
let state =
Expand Down

0 comments on commit a569241

Please sign in to comment.