mirror of
https://github.com/rust-lang/rust-analyzer
synced 2024-11-15 01:17:27 +00:00
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
1 changed files with 4 additions and 1 deletions
|
@ -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 a new issue