Skip to content

Commit

Permalink
chore: apply clippy suggestions
Browse files Browse the repository at this point in the history
  • Loading branch information
DefiCake committed Dec 8, 2023
1 parent ca3046f commit 482a626
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/routes.rs
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ pub async fn dispense_tokens(
})?;

let address = match sessions.lock().await.get(&Salt::new(salt)) {
Some(value) => value.clone(),
Some(value) => *value,
None => {
return Err(DispenseError {
status: StatusCode::NOT_FOUND,
Expand Down

0 comments on commit 482a626

Please sign in to comment.