summaryrefslogtreecommitdiff
path: root/serde_v8/magic/value.rs
diff options
context:
space:
mode:
Diffstat (limited to 'serde_v8/magic/value.rs')
-rw-r--r--serde_v8/magic/value.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/serde_v8/magic/value.rs b/serde_v8/magic/value.rs
index 5d844fbda..651e75263 100644
--- a/serde_v8/magic/value.rs
+++ b/serde_v8/magic/value.rs
@@ -29,7 +29,7 @@ impl<'s> From<Value<'s>> for v8::Local<'s, v8::Value> {
impl ToV8 for Value<'_> {
fn to_v8<'a>(
- &self,
+ &mut self,
_scope: &mut v8::HandleScope<'a>,
) -> Result<v8::Local<'a, v8::Value>, crate::Error> {
// SAFETY: not fully safe, since lifetimes are detached from original scope