summaryrefslogtreecommitdiff
path: root/core/isolate.rs
diff options
context:
space:
mode:
Diffstat (limited to 'core/isolate.rs')
-rw-r--r--core/isolate.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/isolate.rs b/core/isolate.rs
index 8bdd017a8..a9e5f44a5 100644
--- a/core/isolate.rs
+++ b/core/isolate.rs
@@ -1164,8 +1164,8 @@ impl ErrWithV8Handle {
Self { err, handle }
}
- pub fn get_handle(&mut self) -> &mut v8::Global<v8::Value> {
- &mut self.handle
+ pub fn get_handle(&self) -> &v8::Global<v8::Value> {
+ &self.handle
}
}