chore: remove clippy warnings (#213)

This commit is contained in:
ToastXC
2023-01-18 18:16:27 +00:00
committed by GitHub
parent 32d3683013
commit fc32996b51
4 changed files with 5 additions and 9 deletions
+1 -1
View File
@@ -38,7 +38,7 @@ pub async fn queue(channel: String, id: String, content: String) {
pub async fn worker(db: Database) {
loop {
let task = Q.pop().await;
if let Ok(embeds) = Embed::generate(task.content, &*JANUARY_URL, *MAX_EMBED_COUNT).await {
if let Ok(embeds) = Embed::generate(task.content, &JANUARY_URL, *MAX_EMBED_COUNT).await {
if let Err(err) = Message::append(
&db,
task.id,