summaryrefslogtreecommitdiff
path: root/src/model/dict.rs
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2023-01-27 12:05:00 +0100
committerLaurenz <laurmaedje@gmail.com>2023-01-27 12:05:12 +0100
commit43ef60c09cc48f6b7c6dd752ab7af7c0d6071bc5 (patch)
tree525320e583fc53e9474fd4b4d4944cdf8117d406 /src/model/dict.rs
parentc56299c6bde121807c3febbef0766ff2fe2b32f2 (diff)
Tracing-based expression tooltips
Diffstat (limited to 'src/model/dict.rs')
-rw-r--r--src/model/dict.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/model/dict.rs b/src/model/dict.rs
index e94db923..76d194a8 100644
--- a/src/model/dict.rs
+++ b/src/model/dict.rs
@@ -105,7 +105,7 @@ impl Dict {
}
/// Transform each pair in the dictionary with a function.
- pub fn map(&self, vm: &Vm, func: Func) -> SourceResult<Array> {
+ pub fn map(&self, vm: &mut Vm, func: Func) -> SourceResult<Array> {
if func.argc().map_or(false, |count| count != 2) {
bail!(func.span(), "function must have exactly two parameters");
}