summaryrefslogtreecommitdiff
path: root/dhall_syntax/src
diff options
context:
space:
mode:
Diffstat (limited to 'dhall_syntax/src')
-rw-r--r--dhall_syntax/src/core/map.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/dhall_syntax/src/core/map.rs b/dhall_syntax/src/core/map.rs
index c76ac34..e5b399e 100644
--- a/dhall_syntax/src/core/map.rs
+++ b/dhall_syntax/src/core/map.rs
@@ -99,6 +99,7 @@ mod dup_tree_map {
}
Entry::Occupied(mut e) => e.get_mut().push(value),
}
+ self.size += 1;
}
pub fn len(&self) -> usize {