aboutsummaryrefslogtreecommitdiff
path: root/crates/syntax
diff options
context:
space:
mode:
authorAleksey Kladov <[email protected]>2020-11-09 13:09:49 +0000
committerAleksey Kladov <[email protected]>2020-11-09 13:09:49 +0000
commite72cd4600e4c9633673998e03ad639c5e674737d (patch)
tree408621e995451b7141854ad28156b96a98c8c6d1 /crates/syntax
parent73b08131dff8855c6736ce41867a6a197dfb87af (diff)
Fix debug for SyntaxRewriter
Diffstat (limited to 'crates/syntax')
-rw-r--r--crates/syntax/src/algo.rs5
1 files changed, 4 insertions, 1 deletions
diff --git a/crates/syntax/src/algo.rs b/crates/syntax/src/algo.rs
index 9dc7182bd..30adb7217 100644
--- a/crates/syntax/src/algo.rs
+++ b/crates/syntax/src/algo.rs
@@ -331,7 +331,10 @@ pub struct SyntaxRewriter<'a> {
331 331
332impl fmt::Debug for SyntaxRewriter<'_> { 332impl fmt::Debug for SyntaxRewriter<'_> {
333 fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { 333 fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
334 f.debug_struct("SyntaxRewriter").field("replacements", &self.replacements).finish() 334 f.debug_struct("SyntaxRewriter")
335 .field("replacements", &self.replacements)
336 .field("insertions", &self.insertions)
337 .finish()
335 } 338 }
336} 339}
337 340