diff options
| author | acdenisSK <[email protected]> | 2017-07-27 08:10:41 +0200 |
|---|---|---|
| committer | acdenisSK <[email protected]> | 2017-07-27 08:10:41 +0200 |
| commit | 70b5097aaac85f970c32ceb988dbb5f5d575ee0f (patch) | |
| tree | d2f391d3b552cfae58b74748a2a2aa5ae80c7986 /src/framework/command.rs | |
| parent | rustfmt (diff) | |
| download | serenity-70b5097aaac85f970c32ceb988dbb5f5d575ee0f.tar.xz serenity-70b5097aaac85f970c32ceb988dbb5f5d575ee0f.zip | |
Change the config a bit, and a few nitpicks
Diffstat (limited to 'src/framework/command.rs')
| -rw-r--r-- | src/framework/command.rs | 3 |
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(), |