From 695ae1dd8aaeeaf37129c3d53e90e63daaaa7be0 Mon Sep 17 00:00:00 2001 From: Makefile-dot-in Date: Fri, 17 Nov 2023 16:43:02 +0200 Subject: [PATCH] Removed the bounds for the Default impl for Command (#215) --- src/structs/command.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/structs/command.rs b/src/structs/command.rs index 1e030668003f..9d8c34c3a20f 100644 --- a/src/structs/command.rs +++ b/src/structs/command.rs @@ -5,7 +5,7 @@ use crate::{serenity_prelude as serenity, BoxFuture}; /// Type returned from `#[poise::command]` annotated functions, which contains all of the generated /// prefix and application commands #[derive(derivative::Derivative)] -#[derivative(Default, Debug(bound = ""))] +#[derivative(Default(bound = ""), Debug(bound = ""))] pub struct Command { // ============= /// Callback to execute when this command is invoked in a prefix context