simplify plugin code
This commit is contained in:
parent
1550c52552
commit
1b6b67b332
4 changed files with 6 additions and 6 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Reference in a new issue