Fix debug for SyntaxRewriter

This commit is contained in:
Aleksey Kladov 2020-11-09 14:09:49 +01:00
parent 73b08131df
commit e72cd4600e

View file

@ -331,7 +331,10 @@ pub struct SyntaxRewriter<'a> {
impl fmt::Debug for SyntaxRewriter<'_> {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
f.debug_struct("SyntaxRewriter").field("replacements", &self.replacements).finish()
f.debug_struct("SyntaxRewriter")
.field("replacements", &self.replacements)
.field("insertions", &self.insertions)
.finish()
}
}