diff options
author | Aaron O'Mullan <aaron.omullan@gmail.com> | 2021-04-04 01:17:02 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-04 01:17:02 +0200 |
commit | 19d0e6b6710a61e6fdcf9f08e6057e49b349fe18 (patch) | |
tree | 8f444a1e26de1f483972f489e38d67ffc4775b3b /core/bindings.rs | |
parent | 878599ca7c4eb7636b6d025e669b39651f5ba1d0 (diff) |
perf(serde_v8): introduce Serializable boxable object (#9983)
Diffstat (limited to 'core/bindings.rs')
-rw-r--r-- | core/bindings.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/bindings.rs b/core/bindings.rs index 3484d3cbd..f086e1f9c 100644 --- a/core/bindings.rs +++ b/core/bindings.rs @@ -438,7 +438,7 @@ fn send<'s>( match op { Op::Sync(resp) => match resp { OpResponse::Value(v) => { - rv.set(to_v8(scope, v).unwrap()); + rv.set(v.to_v8(scope).unwrap()); } OpResponse::Buffer(buf) => { rv.set(boxed_slice_to_uint8array(scope, buf).into()); |