summaryrefslogtreecommitdiff
path: root/src/config/evalsto.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/config/evalsto.rs')
-rw-r--r--src/config/evalsto.rs9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/config/evalsto.rs b/src/config/evalsto.rs
index 10b2dd1..eae9b2d 100644
--- a/src/config/evalsto.rs
+++ b/src/config/evalsto.rs
@@ -62,3 +62,12 @@ where
}
}
}
+
+impl<T, A> Default for EvalTo<T, A>
+where
+ T: Default,
+{
+ fn default() -> Self {
+ Self::Value(T::default())
+ }
+}