From 96c523ada160996923bc1578af915763be73e250 Mon Sep 17 00:00:00 2001 From: Michael Sippel Date: Sun, 6 Oct 2024 14:38:41 +0200 Subject: [PATCH] add Debug for Bimap & BimapTypeDict --- src/bimap.rs | 1 + src/dict.rs | 1 + 2 files changed, 2 insertions(+) diff --git a/src/bimap.rs b/src/bimap.rs index 9ea311a..9d0a96c 100644 --- a/src/bimap.rs +++ b/src/bimap.rs @@ -2,6 +2,7 @@ use std::{collections::HashMap, hash::Hash}; //<<<<>>>><<>><><<>><<<*>>><<>><><<>><<<<>>>>\\ +#[derive(Debug)] pub struct Bimap { pub mλ: HashMap, pub my: HashMap<Λ, V>, diff --git a/src/dict.rs b/src/dict.rs index 4d5b35b..67e22b3 100644 --- a/src/dict.rs +++ b/src/dict.rs @@ -28,6 +28,7 @@ pub trait TypeDict { //<<<<>>>><<>><><<>><<<*>>><<>><><<>><<<<>>>>\\ +#[derive(Debug)] pub struct BimapTypeDict { typenames: Bimap, type_lit_counter: u64,