6508: Fix debug for SyntaxRewriter r=matklad a=matklad

bors r+
🤖

Co-authored-by: Aleksey Kladov <aleksey.kladov@gmail.com>
This commit is contained in:
bors[bot] 2020-11-09 13:10:23 +00:00 committed by GitHub
commit 9febb9eb0e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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()
}
}