diff options
Diffstat (limited to 'src/framework')
| -rw-r--r-- | src/framework/create_group.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/framework/create_group.rs b/src/framework/create_group.rs index 03fc33e..cc0b3bd 100644 --- a/src/framework/create_group.rs +++ b/src/framework/create_group.rs @@ -6,9 +6,6 @@ use std::sync::Arc; use ::client::Context; use ::model::Message; -#[derive(Default)] -pub struct CreateGroup(pub CommandGroup); - /// Used to create command groups /// /// # Examples @@ -23,6 +20,9 @@ pub struct CreateGroup(pub CommandGroup); /// .command("name", |c| c /// .exec_str("Hakase"))) /// ``` +#[derive(Default)] +pub struct CreateGroup(pub CommandGroup); + impl CreateGroup { /// Adds a command to group. pub fn command<F>(mut self, command_name: &str, f: F) -> Self |