How to format the array in expanded style? #587
-
to
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
An API that might make this easier is visit_mut. For what calls to make, I'd recommend parsing and doing a debug dump of your desired format and that should give you an idea of what parts of the API on which entries you need to edit to get the desired result. |
Beta Was this translation helpful? Give feedback.
-
Thank you. However, I have discovered that this approach complicates things. Instead, I have found an alternative solution: array.push_formatted(x.decorated("\n\t", "")); |
Beta Was this translation helpful? Give feedback.
Thank you. However, I have discovered that this approach complicates things. Instead, I have found an alternative solution: