aboutsummaryrefslogtreecommitdiff
path: root/src/framework/configuration.rs
diff options
context:
space:
mode:
authoracdenisSK <[email protected]>2017-07-27 08:10:41 +0200
committeracdenisSK <[email protected]>2017-07-27 08:10:41 +0200
commit70b5097aaac85f970c32ceb988dbb5f5d575ee0f (patch)
treed2f391d3b552cfae58b74748a2a2aa5ae80c7986 /src/framework/configuration.rs
parentrustfmt (diff)
downloadserenity-70b5097aaac85f970c32ceb988dbb5f5d575ee0f.tar.xz
serenity-70b5097aaac85f970c32ceb988dbb5f5d575ee0f.zip
Change the config a bit, and a few nitpicks
Diffstat (limited to 'src/framework/configuration.rs')
-rw-r--r--src/framework/configuration.rs3
1 files changed, 1 insertions, 2 deletions
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<F>(mut self, dynamic_prefix: F) -> Self
- where
- F: Fn(&mut Context, &Message) -> Option<String> + Send + Sync + 'static, {
+ where F: Fn(&mut Context, &Message) -> Option<String> + Send + Sync + 'static {
self.dynamic_prefix = Some(Box::new(dynamic_prefix));
self