Skip to content

Commit

Permalink
satisfy clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
piotr-iohk committed Oct 25, 2024
1 parent f1f5e80 commit 35c54dd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/api/search_transactions.rs
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ impl MinaMesh {
)
.fetch_all(&self.pg_pool)
.await?;
return Ok(user_commands);
Ok(user_commands)
} else {
let user_commands = sqlx::query_file_as!(
UserCommand,
Expand All @@ -118,7 +118,7 @@ impl MinaMesh {
)
.fetch_all(&self.pg_pool)
.await?;
return Ok(user_commands);
Ok(user_commands)
}
}

Expand Down

0 comments on commit 35c54dd

Please sign in to comment.