diff options
| author | Valentin Anger <syrupthinker@gryphno.de> | 2020-07-08 17:23:50 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-07-08 11:23:50 -0400 |
| commit | be7e0f2d490ca480aaa154845c4c5c6dccbd7546 (patch) | |
| tree | b2a2d284c490a2a1cd8ec3b6175ea5d4077cc65e /core/plugin_api.rs | |
| parent | cbbd9443592f79f6abf9e5019840de4e01ff8580 (diff) | |
BREAKING(core): Remove control slice from ops (#6048)
Diffstat (limited to 'core/plugin_api.rs')
| -rw-r--r-- | core/plugin_api.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/plugin_api.rs b/core/plugin_api.rs index 16f5d4a36..0cb9acaeb 100644 --- a/core/plugin_api.rs +++ b/core/plugin_api.rs @@ -15,7 +15,7 @@ pub use crate::ZeroCopyBuf; pub type InitFn = fn(&mut dyn Interface); -pub type DispatchOpFn = fn(&mut dyn Interface, &[u8], &mut [ZeroCopyBuf]) -> Op; +pub type DispatchOpFn = fn(&mut dyn Interface, &mut [ZeroCopyBuf]) -> Op; pub trait Interface { fn register_op(&mut self, name: &str, dispatcher: DispatchOpFn) -> OpId; |
