diff options
author | Aaron O'Mullan <aaron.omullan@gmail.com> | 2021-04-02 15:47:57 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-02 09:47:57 -0400 |
commit | 058579da562989ed15c86598053644bbc86c6747 (patch) | |
tree | 7f0f2bf30684dcbb350b93d987771f17a4abd250 /core/ops.rs | |
parent | adf57610904cb4f4ef25fb077f6e39c9017a4ea9 (diff) |
refactor(ops): remove variadic buffers (#9944)
Diffstat (limited to 'core/ops.rs')
-rw-r--r-- | core/ops.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/ops.rs b/core/ops.rs index 867bb5210..5bd0928b6 100644 --- a/core/ops.rs +++ b/core/ops.rs @@ -191,7 +191,7 @@ impl Default for OpTable { pub fn op_resources( state: &mut OpState, _args: Value, - _zero_copy: &mut [ZeroCopyBuf], + _zero_copy: Option<ZeroCopyBuf>, ) -> Result<Value, AnyError> { let serialized_resources: HashMap<u32, String> = state .resource_table @@ -207,7 +207,7 @@ pub fn op_resources( pub fn op_close( state: &mut OpState, args: Value, - _zero_copy: &mut [ZeroCopyBuf], + _zero_copy: Option<ZeroCopyBuf>, ) -> Result<Value, AnyError> { let rid = args .get("rid") |