fix: allow lints

This commit is contained in:
oSumAtrIX 2022-08-20 16:14:23 +02:00
parent 0eb9356c5d
commit c0bcc0a12b
No known key found for this signature in database
GPG Key ID: A9B3094ACDB604B4
2 changed files with 3 additions and 0 deletions

View File

@ -42,6 +42,7 @@ pub async fn unmute(
.await .await
} }
#[allow(clippy::too_many_arguments)]
#[poise::command(slash_command)] #[poise::command(slash_command)]
pub async fn mute( pub async fn mute(
ctx: Context<'_>, ctx: Context<'_>,

View File

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