diff --git a/fish/src/bot/node.rs b/fish/src/bot/node.rs index 93b649c..0e927e1 100644 --- a/fish/src/bot/node.rs +++ b/fish/src/bot/node.rs @@ -130,14 +130,14 @@ impl Node { impl core::fmt::Debug for Node { fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - write!(f, "Node(rating={}", self.rating)?; + write!(f, "Node {{ rating: {}", self.rating)?; if let Some(pc) = self.root_placement() { - write!(f, ", root_placement={}", pc.ty)?; + write!(f, ", root_placement: {:?}", pc)?; } if !self.queue().is_empty() { - write!(f, ", queue={}", self.queue())?; + write!(f, ", queue: {}", self.queue())?; } - write!(f, ")") + write!(f, " }}") } }