From be3661ca2115ab704697b45628ed9984b924ad76 Mon Sep 17 00:00:00 2001 From: Jokler Date: Mon, 11 Dec 2017 03:51:57 +0100 Subject: Remove needless allocation & fix typo --- src/plugin.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/plugin.rs') diff --git a/src/plugin.rs b/src/plugin.rs index fb01168..d2338f9 100644 --- a/src/plugin.rs +++ b/src/plugin.rs @@ -10,7 +10,7 @@ pub trait Plugin: PluginName + Send + Sync + fmt::Debug { fn is_allowed(&self, server: &IrcServer, message: &Message) -> bool; /// Handles messages which are not commands but still necessary. fn execute(&self, server: &IrcServer, message: &Message) -> Result<(), IrcError>; - /// Handles any command directed at this plugina. + /// Handles any command directed at this plugin. fn command(&self, server: &IrcServer, command: PluginCommand) -> Result<(), IrcError>; } -- cgit v1.2.3-70-g09d2