Merge #6508
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:
commit
9febb9eb0e
@ -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()
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user