summaryrefslogtreecommitdiff
path: root/src/model/methods.rs
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2022-11-24 17:39:08 +0100
committerLaurenz <laurmaedje@gmail.com>2022-11-24 17:41:41 +0100
commit8d3c68a1deb28dce2b80ed61f85141180ce6a951 (patch)
treede007203d448d6b6a2df7838e802f85d23ccd1a6 /src/model/methods.rs
parent5ae81971f299688b05d77af208d7bb44ffce5e2d (diff)
Protect Vm
Diffstat (limited to 'src/model/methods.rs')
-rw-r--r--src/model/methods.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/model/methods.rs b/src/model/methods.rs
index 5f879eeb..c5c12ed2 100644
--- a/src/model/methods.rs
+++ b/src/model/methods.rs
@@ -7,7 +7,7 @@ use crate::util::EcoString;
/// Call a method on a value.
pub fn call(
- vm: &mut Vm,
+ vm: &Vm,
value: Value,
method: &str,
mut args: Args,