Skip to content

Commit

Permalink
fix: allow lints
Browse files Browse the repository at this point in the history
  • Loading branch information
oSumAtrIX committed Aug 20, 2022
1 parent 0eb9356 commit c0bcc0a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/commands/moderation.rs
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ pub async fn unmute(
.await
}

#[allow(clippy::too_many_arguments)]
#[poise::command(slash_command)]
pub async fn mute(
ctx: Context<'_>,
Expand Down
2 changes: 2 additions & 0 deletions src/db/database.rs
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ impl Database {
Ok(result)
}

#[allow(dead_code)]
pub async fn insert<T: Serialize>(
&self,
collection: &str,
Expand All @@ -90,6 +91,7 @@ impl Database {
Ok(result)
}

#[allow(dead_code)]
pub async fn delete(
&self,
collection: &str,
Expand Down

0 comments on commit c0bcc0a

Please sign in to comment.