diff options
| author | acdenisSK <[email protected]> | 2018-03-29 12:10:43 +0200 |
|---|---|---|
| committer | acdenisSK <[email protected]> | 2018-03-29 12:11:23 +0200 |
| commit | 4c05e828d5191975ef1a5e1ac581b646a69d2c25 (patch) | |
| tree | fb583f88a1e5d192651b399aca1839f3f58e661e /src/framework/standard/create_help_command.rs | |
| parent | Add a connection timeout (diff) | |
| download | serenity-4c05e828d5191975ef1a5e1ac581b646a69d2c25.tar.xz serenity-4c05e828d5191975ef1a5e1ac581b646a69d2c25.zip | |
Refactor imports/exports to use nested groups and better formatting
Diffstat (limited to 'src/framework/standard/create_help_command.rs')
| -rw-r--r-- | src/framework/standard/create_help_command.rs | 20 |
1 files changed, 16 insertions, 4 deletions
diff --git a/src/framework/standard/create_help_command.rs b/src/framework/standard/create_help_command.rs index 06f9dda..3796139 100644 --- a/src/framework/standard/create_help_command.rs +++ b/src/framework/standard/create_help_command.rs @@ -1,9 +1,21 @@ -use super::command::{Help, HelpOptions, HelpFunction}; -pub use super::{Args, CommandGroup, CommandOptions, CommandError, HelpBehaviour}; +use super::command::{ + Help, + HelpOptions, + HelpFunction +}; +pub use super::{ + Args, + CommandGroup, + CommandOptions, + CommandError, + HelpBehaviour +}; use utils::Colour; -use std::fmt::Write; -use std::sync::Arc; +use std::{ + fmt::Write, + sync::Arc +}; pub struct CreateHelpCommand(pub HelpOptions, pub HelpFunction); |