Skip to content

Fix formatting of empty structs/maps/tuples/etc. when using trailing commas or indentation.#26

Open
bobroberts177 wants to merge 1 commit intospyoungtech:mainfrom
bobroberts177:fix-empty-formatting
Open

Fix formatting of empty structs/maps/tuples/etc. when using trailing commas or indentation.#26
bobroberts177 wants to merge 1 commit intospyoungtech:mainfrom
bobroberts177:fix-empty-formatting

Conversation

@bobroberts177
Copy link
Copy Markdown
Contributor

The code currently panics on empty structs/maps/tuples/etc. outputted with with FormatConfiguration that specifies non-zero indentation. It also adds commas to these empty datastructures which seems undesirable.

when using trailing commas or indentation.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant