aboutsummaryrefslogtreecommitdiff
path: root/mingling_core
diff options
context:
space:
mode:
Diffstat (limited to 'mingling_core')
-rw-r--r--mingling_core/src/program/collection/mock.rs9
1 files changed, 9 insertions, 0 deletions
diff --git a/mingling_core/src/program/collection/mock.rs b/mingling_core/src/program/collection/mock.rs
index 568d141..c22ff95 100644
--- a/mingling_core/src/program/collection/mock.rs
+++ b/mingling_core/src/program/collection/mock.rs
@@ -24,6 +24,15 @@ pub enum MockProgramCollect {
Bar,
}
+impl std::fmt::Debug for MockProgramCollect {
+ fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
+ match self {
+ Self::Foo => write!(f, "Foo"),
+ Self::Bar => write!(f, "Bar"),
+ }
+ }
+}
+
impl std::fmt::Display for MockProgramCollect {
fn fmt(&self, _f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
todo!()