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/configuration.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/framework/configuration.rs') diff --git a/src/framework/configuration.rs b/src/framework/configuration.rs index 06e7e6a..28e1af5 100644 --- a/src/framework/configuration.rs +++ b/src/framework/configuration.rs @@ -215,8 +215,7 @@ impl Configuration { /// }))); /// ``` pub fn dynamic_prefix(mut self, dynamic_prefix: F) -> Self - where - F: Fn(&mut Context, &Message) -> Option + Send + Sync + 'static, { + where F: Fn(&mut Context, &Message) -> Option + Send + Sync + 'static { self.dynamic_prefix = Some(Box::new(dynamic_prefix)); self -- cgit v1.2.3