aboutsummaryrefslogtreecommitdiff
path: root/src/framework/command.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/framework/command.rs')
-rw-r--r--src/framework/command.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/framework/command.rs b/src/framework/command.rs
index 1484891..4e338d4 100644
--- a/src/framework/command.rs
+++ b/src/framework/command.rs
@@ -69,8 +69,7 @@ pub struct Command {
impl Command {
pub fn new<F>(f: F) -> Self
- where
- F: Fn(&mut Context, &Message, Vec<String>) -> Result<(), String> + 'static, {
+ where F: Fn(&mut Context, &Message, Vec<String>) -> Result<(), String> + 'static {
Command {
aliases: Vec::new(),
checks: Vec::default(),