Skip to content

Commit a0aaaad

Browse files
committed
Fix clippy errors
1 parent dbd2fba commit a0aaaad

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/cli/rate_user.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ fn get_user_rate(rating: &u8, order_id: &Uuid) -> Result<Payload> {
3232

3333
pub async fn execute_rate_user(order_id: &Uuid, rating: &u8, ctx: &Context) -> Result<()> {
3434
// Check boundaries
35-
let rating_content = get_user_rate(rating, &order_id)?;
35+
let rating_content = get_user_rate(rating, order_id)?;
3636

3737
// Get the trade keys
3838
let trade_keys =

src/parser/dms.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -881,7 +881,7 @@ pub async fn print_direct_messages(
881881
// From label: show 🧌 Mostro if matches provided pubkey
882882
let from_label = if let Some(pk) = mostro_pubkey {
883883
if *sender_pubkey == pk {
884-
format!("🧌 {}", sender_pubkey.to_string())
884+
format!("🧌 {}", sender_pubkey)
885885
} else {
886886
sender_pubkey.to_string()
887887
}

0 commit comments

Comments
 (0)