diff options
author | Valentin Anger <syrupthinker@gryphno.de> | 2020-06-01 20:20:47 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-01 14:20:47 -0400 |
commit | becbb56b19e96e4dd72b861217a855fba953d290 (patch) | |
tree | d9e99771c537ef87a4a945f0120775c337ef90aa /cli/ops/repl.rs | |
parent | 12d741c2fe453625d510313beaa2e1c282784c00 (diff) |
feat(core): Ops can take several zero copy buffers (#4788)
Diffstat (limited to 'cli/ops/repl.rs')
-rw-r--r-- | cli/ops/repl.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cli/ops/repl.rs b/cli/ops/repl.rs index 40bc9653e..b8fd7ab8b 100644 --- a/cli/ops/repl.rs +++ b/cli/ops/repl.rs @@ -27,7 +27,7 @@ fn op_repl_start( isolate_state: &mut CoreIsolateState, state: &State, args: Value, - _zero_copy: Option<ZeroCopyBuf>, + _zero_copy: &mut [ZeroCopyBuf], ) -> Result<JsonOp, OpError> { let args: ReplStartArgs = serde_json::from_value(args)?; debug!("op_repl_start {}", args.history_file); @@ -50,7 +50,7 @@ fn op_repl_readline( isolate_state: &mut CoreIsolateState, _state: &State, args: Value, - _zero_copy: Option<ZeroCopyBuf>, + _zero_copy: &mut [ZeroCopyBuf], ) -> Result<JsonOp, OpError> { let args: ReplReadlineArgs = serde_json::from_value(args)?; let rid = args.rid as u32; |