diff options
author | Aaron O'Mullan <aaron.omullan@gmail.com> | 2021-05-08 14:37:42 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-05-08 14:37:42 +0200 |
commit | d5f39fd121b8f997dcfb360828f60cee47322ab3 (patch) | |
tree | 4eb4880060a861ac6ddfe27e5f62b8bc756b52b5 /test_plugin/src | |
parent | 4ed1428c3401c9e6dc4d737bd7c9a50840054696 (diff) |
cleanup(ops): remove unused ZeroCopyBuf arg-types (#10530)
Diffstat (limited to 'test_plugin/src')
-rw-r--r-- | test_plugin/src/lib.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test_plugin/src/lib.rs b/test_plugin/src/lib.rs index 105071751..56eb8d489 100644 --- a/test_plugin/src/lib.rs +++ b/test_plugin/src/lib.rs @@ -80,7 +80,7 @@ impl Resource for TestResource { fn op_test_resource_table_add( state: &mut OpState, text: String, - _zero_copy: Option<ZeroCopyBuf>, + _: (), ) -> Result<u32, AnyError> { println!("Hello from resource_table.add plugin op."); @@ -90,7 +90,7 @@ fn op_test_resource_table_add( fn op_test_resource_table_get( state: &mut OpState, rid: ResourceId, - _zero_copy: Option<ZeroCopyBuf>, + _: (), ) -> Result<String, AnyError> { println!("Hello from resource_table.get plugin op."); |