diff options
| author | Ryan Dahl <ry@tinyclouds.org> | 2020-04-18 20:05:13 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-04-18 20:05:13 -0400 |
| commit | 4d2b9cd37af2b9d6a145a04fc93117922e43df3a (patch) | |
| tree | 72625816dd4dd2fabd34a74770f5b9c3a7b0554e /core/plugins.rs | |
| parent | e2fd729a0b26c299f0cc4e4618d1f97159b31a19 (diff) | |
Fix Op definitions (#4814)
Diffstat (limited to 'core/plugins.rs')
| -rw-r--r-- | core/plugins.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/plugins.rs b/core/plugins.rs index edb675120..c6e63c975 100644 --- a/core/plugins.rs +++ b/core/plugins.rs @@ -1,5 +1,5 @@ use crate::isolate::ZeroCopyBuf; -use crate::ops::CoreOp; +use crate::ops::Op; pub type PluginInitFn = fn(context: &mut dyn PluginInitContext); @@ -7,7 +7,7 @@ pub trait PluginInitContext { fn register_op( &mut self, name: &str, - op: Box<dyn Fn(&[u8], Option<ZeroCopyBuf>) -> CoreOp + 'static>, + op: Box<dyn Fn(&[u8], Option<ZeroCopyBuf>) -> Op + 'static>, ); } |
