diff options
author | Aaron O'Mullan <aaron.omullan@gmail.com> | 2021-04-11 07:05:43 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-11 07:05:43 +0200 |
commit | 29eca72fea4f1e160a8d76d2ebda26e2c48b9658 (patch) | |
tree | be8db9d2253a1f64bda23a01b035932b6dc5d34b /test_plugin/src | |
parent | 8aa0d5f96ed418e21efb99967f1f6b7fea0dc87f (diff) |
core: avoid async op future reboxing to bundle PromiseId (#10123)
Diffstat (limited to 'test_plugin/src')
-rw-r--r-- | test_plugin/src/lib.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test_plugin/src/lib.rs b/test_plugin/src/lib.rs index b84dcef48..51ed6d499 100644 --- a/test_plugin/src/lib.rs +++ b/test_plugin/src/lib.rs @@ -48,7 +48,7 @@ fn op_test_async( assert!(rx.await.is_ok()); let result = b"test"; let result_box: Box<[u8]> = Box::new(*result); - OpResponse::Buffer(result_box) + (0, OpResponse::Buffer(result_box)) }; Op::Async(fut.boxed()) |