summaryrefslogtreecommitdiff
path: root/src/model/dict.rs
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2022-11-25 10:36:31 +0100
committerLaurenz <laurmaedje@gmail.com>2022-11-25 12:16:13 +0100
commitbf5edbbbbb75120d065d1c9587ccfa4eed4fdca1 (patch)
tree956af910ab27a8cec0db83171cd3f0b6d0570a60 /src/model/dict.rs
parent96f72eee6c6b595164c7a0576c407d7a590661db (diff)
Tidy up
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 270c2c9c..1c299795 100644
--- a/src/model/dict.rs
+++ b/src/model/dict.rs
@@ -104,7 +104,7 @@ impl Dict {
self.0.values().cloned().collect()
}
- /// Transform each pair in the array with a function.
+ /// Transform each pair in the dictionary with a function.
pub fn map(&self, vm: &Vm, f: Spanned<Func>) -> SourceResult<Array> {
self.iter()
.map(|(key, value)| {