- cross-posted to:
- python@programming.dev
- rust@programming.dev
- cross-posted to:
- python@programming.dev
- rust@programming.dev
- Visualizer:
- Code:
- TOML spec:
You must log in or register to comment.
but… trailing commas are ok in TOML
- edit 1: I now see the caveat of an inline table - though trailing commas are not that useful for an inline list of values anyways
- edit 2: they’re changing this for TOML 1.1: https://github.com/toml-lang/toml/issues/516 .
The double square bracket is for an array of tables. A regular array looks “normal”: https://toml.io/en/v1.0.0#array