Clarify content ID in debug output on Syntax

pull/789/head
Wilfred Hughes 2024-11-14 14:19:51 +07:00
parent 1c0dd04ef1
commit 819a672df8
1 changed files with 2 additions and 2 deletions

@ -139,7 +139,7 @@ impl<'a> fmt::Debug for Syntax<'a> {
.. ..
} => { } => {
let mut ds = f.debug_struct(&format!( let mut ds = f.debug_struct(&format!(
"List id:{} content:{}", "List id:{} content_id:{}",
self.id(), self.id(),
self.content_id() self.content_id()
)); ));
@ -169,7 +169,7 @@ impl<'a> fmt::Debug for Syntax<'a> {
.. ..
} => { } => {
let mut ds = f.debug_struct(&format!( let mut ds = f.debug_struct(&format!(
"Atom id:{} content:{}", "Atom id:{} content_id:{}",
self.id(), self.id(),
self.content_id() self.content_id()
)); ));