diff options
| author | Zeyla Hellyer <[email protected]> | 2018-06-17 15:53:09 -0700 |
|---|---|---|
| committer | Zeyla Hellyer <[email protected]> | 2018-06-17 15:53:09 -0700 |
| commit | 6ddfef8359a619be9a49be7b33b466724eed0ecb (patch) | |
| tree | 5fb9c070b1650b95aa6b5713b3630fc253095275 /src/framework/standard/command.rs | |
| parent | Fix Args test (diff) | |
| download | serenity-6ddfef8359a619be9a49be7b33b466724eed0ecb.tar.xz serenity-6ddfef8359a619be9a49be7b33b466724eed0ecb.zip | |
Remove extraneous spaces at the end of lines
Diffstat (limited to 'src/framework/standard/command.rs')
| -rw-r--r-- | src/framework/standard/command.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/framework/standard/command.rs b/src/framework/standard/command.rs index d8fc81e..c9dad59 100644 --- a/src/framework/standard/command.rs +++ b/src/framework/standard/command.rs @@ -20,8 +20,8 @@ type CheckFunction = Fn(&mut Context, &Message, &mut Args, &CommandOptions) -> b pub struct Check(pub(crate) Box<CheckFunction>); impl Check { - pub(crate) fn new<F: Send + Sync + 'static>(f: F) -> Self - where F: Fn(&mut Context, &Message, &mut Args, &CommandOptions) -> bool + pub(crate) fn new<F: Send + Sync + 'static>(f: F) -> Self + where F: Fn(&mut Context, &Message, &mut Args, &CommandOptions) -> bool { Check(Box::new(f)) } |