summaryrefslogtreecommitdiff
path: root/src/syntax/func
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2020-02-03 12:22:02 +0100
committerLaurenz <laurmaedje@gmail.com>2020-02-03 12:22:02 +0100
commit3150fd56437ecf8b2a5902c18e3f9ace800b768c (patch)
treedb8a7e9fc868145804db97da81bd0669aaf55454 /src/syntax/func
parent40ea35cbe7482ce04096c4d63a848c8601cc1848 (diff)
Better Debug/Display and Derives 🧽
Diffstat (limited to 'src/syntax/func')
-rw-r--r--src/syntax/func/maps.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/syntax/func/maps.rs b/src/syntax/func/maps.rs
index eb4c8394..691b3d36 100644
--- a/src/syntax/func/maps.rs
+++ b/src/syntax/func/maps.rs
@@ -16,7 +16,7 @@ use super::*;
/// list that needs to be passed to those functions.
///
/// All entries need to have span information to enable the error reporting.
-#[derive(Debug, Clone, PartialEq)]
+#[derive(Debug, Default, Clone, Eq, PartialEq)]
pub struct DedupMap<K, V> where K: Eq {
map: Vec<Spanned<(K, V)>>,
}