pub struct Span { pub tag: String, pub text: String, } impl std::fmt::Debug for Span { fn fmt(&self, f: &mut std::fmt::Formatter) -> Result<(), std::fmt::Error> { let tag = format!("{:?}", self.tag); write!(f, "{tag:>20}: {:?}", self.text) } }