summary refs log tree commit diff stats
path: root/src/vm/mod.rs
diff options
context:
space:
mode:
authorSoniEx2 <endermoneymod@gmail.com>2022-11-15 08:23:02 -0300
committerSoniEx2 <endermoneymod@gmail.com>2022-11-15 08:23:02 -0300
commit6dd30531ac62f6a3a564b7341d43f6cd71b90794 (patch)
tree576981a864592260da0165c585f66f9406f17d27 /src/vm/mod.rs
parent72397506c3529f4878b5a1cf8205599764ac4088 (diff)
Rework subtrees again and update docs
Diffstat (limited to 'src/vm/mod.rs')
-rw-r--r--src/vm/mod.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/vm/mod.rs b/src/vm/mod.rs
index 81131c0..21fec73 100644
--- a/src/vm/mod.rs
+++ b/src/vm/mod.rs
@@ -55,7 +55,7 @@ impl<O: Serialize> Default for PatternConstants<O> {
     }
 }
 
-impl<O: Serialize> std::fmt::Debug for PatternConstants<O> {
+impl<O: Serialize + std::fmt::Debug> std::fmt::Debug for PatternConstants<O> {
     fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
         f.debug_struct(
             "PatternConstants"
@@ -70,7 +70,7 @@ impl<O: Serialize> std::fmt::Debug for PatternConstants<O> {
             &format_args!("({} predicates)", self.predicates.len()),
         ).field(
             "defs",
-            &format_args!("FIXME"),
+            &self.defs,
         ).finish()
     }
 }