summaryrefslogtreecommitdiff
path: root/src/eval/dict.rs
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2020-10-04 19:21:35 +0200
committerLaurenz <laurmaedje@gmail.com>2020-10-04 19:21:35 +0200
commitf4460f8abd7dee1806cf59b4d3777581a6ed154a (patch)
tree8e591d253a537a76f8c309e23b09bf7a9a762fd5 /src/eval/dict.rs
parent0f7c70fd93db23ec866ae13aa2f146b7787afabf (diff)
Style nits 🎈
Diffstat (limited to 'src/eval/dict.rs')
-rw-r--r--src/eval/dict.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/eval/dict.rs b/src/eval/dict.rs
index b0d5fb82..8d926833 100644
--- a/src/eval/dict.rs
+++ b/src/eval/dict.rs
@@ -351,7 +351,7 @@ impl<V> SpannedEntry<V> {
}
/// Create an entry with the same span for key and value.
- pub fn val(val: Spanned<V>) -> Self {
+ pub fn value(val: Spanned<V>) -> Self {
Self { key_span: val.span, value: val }
}