aboutsummaryrefslogtreecommitdiff
path: root/crates/syntax
diff options
context:
space:
mode:
Diffstat (limited to 'crates/syntax')
-rw-r--r--crates/syntax/src/ast/edit_in_place.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/crates/syntax/src/ast/edit_in_place.rs b/crates/syntax/src/ast/edit_in_place.rs
index 14624c682..2676ed8c9 100644
--- a/crates/syntax/src/ast/edit_in_place.rs
+++ b/crates/syntax/src/ast/edit_in_place.rs
@@ -378,6 +378,10 @@ impl ast::RecordExprFieldList {
378 make::tokens::single_space() 378 make::tokens::single_space()
379 }; 379 };
380 380
381 if is_multiline {
382 normalize_ws_between_braces(self.syntax());
383 }
384
381 let position = match self.fields().last() { 385 let position = match self.fields().last() {
382 Some(last_field) => { 386 Some(last_field) => {
383 let comma = match last_field 387 let comma = match last_field