Skip to content

Commit

Permalink
Removed the bounds for the Default impl for Command (#215)
Browse files Browse the repository at this point in the history
  • Loading branch information
Makefile-dot-in committed Nov 17, 2023
1 parent 8e917d2 commit 695ae1d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/structs/command.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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<U, E> {
// =============
/// Callback to execute when this command is invoked in a prefix context
Expand Down

0 comments on commit 695ae1d

Please sign in to comment.