From c0bcc0a12b12005abd955e39ff85b017521dc273 Mon Sep 17 00:00:00 2001 From: oSumAtrIX Date: Sat, 20 Aug 2022 16:14:23 +0200 Subject: [PATCH] fix: allow lints --- src/commands/moderation.rs | 1 + src/db/database.rs | 2 ++ 2 files changed, 3 insertions(+) diff --git a/src/commands/moderation.rs b/src/commands/moderation.rs index 39d0daa..e9227e7 100644 --- a/src/commands/moderation.rs +++ b/src/commands/moderation.rs @@ -42,6 +42,7 @@ pub async fn unmute( .await } +#[allow(clippy::too_many_arguments)] #[poise::command(slash_command)] pub async fn mute( ctx: Context<'_>, diff --git a/src/db/database.rs b/src/db/database.rs index 3f3a0d6..8a58342 100644 --- a/src/db/database.rs +++ b/src/db/database.rs @@ -79,6 +79,7 @@ impl Database { Ok(result) } + #[allow(dead_code)] pub async fn insert( &self, collection: &str, @@ -90,6 +91,7 @@ impl Database { Ok(result) } + #[allow(dead_code)] pub async fn delete( &self, collection: &str,