Skip to content

Commit

Permalink
[chore] clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
seqre committed Jan 16, 2024
1 parent a9623b0 commit f36b349
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/commands/hall_of_fame.rs
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ impl HofData {
self.hofs
.read()
.await
.get(&guild_id)
.map(|h| h.clone())
.get(guild_id)
.cloned()
.unwrap_or_default()
}
}
Expand Down Expand Up @@ -243,7 +243,7 @@ pub async fn create(ctx: poise::ApplicationContext<'_, Arc<CtxData>, Error>) ->
.await?;
}

return Ok(());
Ok(())
}

#[poise::command(slash_command)]
Expand Down

0 comments on commit f36b349

Please # to comment.