simplify plugin code

This commit is contained in:
lumi 2017-05-27 19:40:00 +02:00
commit 1b6b67b332
4 changed files with 6 additions and 6 deletions

View file

@ -90,7 +90,7 @@ pub trait Plugin: Any + PluginAny {
}
pub trait PluginInit {
fn init(dispatcher: &Dispatcher, me: Arc<Box<Plugin>>);
fn init(dispatcher: &Dispatcher, me: Arc<Plugin>);
}
pub trait PluginAny {