diff options
| author | Jokler <jokler.contact@gmail.com> | 2018-02-12 20:31:56 +0100 |
|---|---|---|
| committer | Jokler <jokler.contact@gmail.com> | 2018-02-12 20:31:56 +0100 |
| commit | 72f1411f1c72a9271c7d3993a3e307050e8d1b31 (patch) | |
| tree | 92cbd36b13d09134ad5d8f23bf933c7aba0d7bb4 /src/plugins/keepnick.rs | |
| parent | d761a8ad9650b4797a673230c2cc924235aafc98 (diff) | |
| download | frippy-72f1411f1c72a9271c7d3993a3e307050e8d1b31.tar.gz frippy-72f1411f1c72a9271c7d3993a3e307050e8d1b31.zip | |
Run latest rustfmt
Diffstat (limited to 'src/plugins/keepnick.rs')
| -rw-r--r-- | src/plugins/keepnick.rs | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/plugins/keepnick.rs b/src/plugins/keepnick.rs index e973769..73f4893 100644 --- a/src/plugins/keepnick.rs +++ b/src/plugins/keepnick.rs @@ -29,7 +29,6 @@ impl KeepNick { Ok(_) => ExecutionStatus::Done, Err(e) => ExecutionStatus::Err(e), } - } else { ExecutionStatus::Done } @@ -51,8 +50,10 @@ impl Plugin for KeepNick { } fn command(&self, client: &IrcClient, command: PluginCommand) -> Result<(), IrcError> { - client.send_notice(&command.source, - "This Plugin does not implement any commands.") + client.send_notice( + &command.source, + "This Plugin does not implement any commands.", + ) } fn evaluate(&self, _: &IrcClient, _: PluginCommand) -> Result<String, String> { |
