Update vendored toml. Adds support for inline tables

This commit is contained in:
Wim
2017-03-25 19:13:47 +01:00
parent 2f68519b3c
commit be15cc8a36
6 changed files with 224 additions and 85 deletions

View File

@@ -241,7 +241,7 @@ func (enc *Encoder) eArrayOfTables(key Key, rv reflect.Value) {
func (enc *Encoder) eTable(key Key, rv reflect.Value) {
panicIfInvalidKey(key)
if len(key) == 1 {
// Output an extra new line between top-level tables.
// Output an extra newline between top-level tables.
// (The newline isn't written if nothing else has been written though.)
enc.newline()
}