Skip to content

Commit

Permalink
cleanup: make auth free of clippy warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
coryan committed Oct 30, 2024
1 parent d86962b commit 651a132
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions auth/src/source.rs
Original file line number Diff line number Diff line change
Expand Up @@ -413,8 +413,8 @@ impl Source for RefresherSource {
return Ok(cur_token.clone());
}
let new_token = self.source.token().await.unwrap();
(*cur_token).value = new_token.value;
(*cur_token).expires = new_token.expires;
cur_token.value = new_token.value;
cur_token.expires = new_token.expires;
return Ok(cur_token.clone());
}
}
Expand Down

0 comments on commit 651a132

Please sign in to comment.