diff options
Diffstat (limited to 'cli/state.rs')
-rw-r--r-- | cli/state.rs | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/cli/state.rs b/cli/state.rs index 2bfc641d5..8a4f4eaee 100644 --- a/cli/state.rs +++ b/cli/state.rs @@ -81,11 +81,7 @@ impl Deref for ThreadSafeState { } impl ThreadSafeState { - pub fn dispatch( - &self, - control: &[u8], - zero_copy: Option<PinnedBuf>, - ) -> (bool, Box<Op>) { + pub fn dispatch(&self, control: &[u8], zero_copy: Option<PinnedBuf>) -> Op { ops::dispatch_all(self, control, zero_copy, self.dispatch_selector) } } |