From 29eca72fea4f1e160a8d76d2ebda26e2c48b9658 Mon Sep 17 00:00:00 2001 From: Aaron O'Mullan Date: Sun, 11 Apr 2021 07:05:43 +0200 Subject: core: avoid async op future reboxing to bundle PromiseId (#10123) --- test_plugin/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test_plugin/src') 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()) -- cgit v1.2.3