aboutsummaryrefslogtreecommitdiff
path: root/src/framework/standard/create_help_command.rs
diff options
context:
space:
mode:
authoracdenisSK <[email protected]>2018-03-29 12:10:43 +0200
committeracdenisSK <[email protected]>2018-03-29 12:11:23 +0200
commit4c05e828d5191975ef1a5e1ac581b646a69d2c25 (patch)
treefb583f88a1e5d192651b399aca1839f3f58e661e /src/framework/standard/create_help_command.rs
parentAdd a connection timeout (diff)
downloadserenity-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.rs20
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);