From 76cdbb4334f0a36fbc5a8450fb6110f47846bd8e Mon Sep 17 00:00:00 2001 From: Raphael Date: Thu, 12 Feb 2026 16:28:07 +0100 Subject: [PATCH] refactor(commands/mod): passing the rustfmt --- src/commands/mod.rs | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/commands/mod.rs b/src/commands/mod.rs index ed91f72..a41641e 100644 --- a/src/commands/mod.rs +++ b/src/commands/mod.rs @@ -1,6 +1,4 @@ -use serenity::all::{ - CommandInteraction, Context, CreateCommand -}; +use serenity::all::{CommandInteraction, Context, CreateCommand}; include!("./mod_gen.rs"); @@ -11,7 +9,8 @@ pub trait SlashCommand: Send + Sync { fn register(&self) -> CreateCommand; - async fn run(&self, ctx: &Context, command: &CommandInteraction) -> Result<(), serenity::Error>; + async fn run(&self, ctx: &Context, command: &CommandInteraction) + -> Result<(), serenity::Error>; } pub struct CommandEntry {