From 70b5097aaac85f970c32ceb988dbb5f5d575ee0f Mon Sep 17 00:00:00 2001 From: acdenisSK Date: Thu, 27 Jul 2017 08:10:41 +0200 Subject: Change the config a bit, and a few nitpicks --- src/framework/command.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/framework/command.rs') 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) -> Self - where - F: Fn(&mut Context, &Message, Vec) -> Result<(), String> + 'static, { + where F: Fn(&mut Context, &Message, Vec) -> Result<(), String> + 'static { Command { aliases: Vec::new(), checks: Vec::default(), -- cgit v1.2.3