Open fosskers opened 6 days ago
to_string_pretty
errs on the side of making Table
s when what you want is an InlineTable
which is the default in some circumstances. To say much more, I'd need more context.
I see that Table
and InlineTable
can be freely converted into one another. I'll try that.
Hi there. Currently naive calls to
to_string_pretty
yield output like:but I'd like it to output:
How can I accomplish this? I spent some time experimenting with
DocumentMut
but was unsuccessful.set_dotted
seems like it might be what I want, but in practice it didn't appear to be. Am I overlooking something obvious?Thank you.