From 19d0e6b6710a61e6fdcf9f08e6057e49b349fe18 Mon Sep 17 00:00:00 2001 From: Aaron O'Mullan Date: Sun, 4 Apr 2021 01:17:02 +0200 Subject: perf(serde_v8): introduce Serializable boxable object (#9983) --- core/ops.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'core/ops.rs') diff --git a/core/ops.rs b/core/ops.rs index 5bd0928b6..1a2a2ebc7 100644 --- a/core/ops.rs +++ b/core/ops.rs @@ -22,7 +22,6 @@ use std::ops::DerefMut; use std::pin::Pin; use std::rc::Rc; -pub use erased_serde::Serialize as Serializable; pub type PromiseId = u64; pub type OpAsyncFuture = Pin>>; pub type OpFn = @@ -60,7 +59,7 @@ impl<'a, 'b, 'c> OpPayload<'a, 'b, 'c> { } pub enum OpResponse { - Value(Box), + Value(Box), Buffer(Box<[u8]>), } -- cgit v1.2.3