Fix String() comment (#79)
This commit is contained in:
committed by
Thomas Pelletier
parent
65ad89c1a7
commit
923742e542
@@ -113,7 +113,7 @@ func (t *TomlTree) ToString() string {
|
|||||||
return t.String()
|
return t.String()
|
||||||
}
|
}
|
||||||
|
|
||||||
// ToString generates a human-readable representation of the current tree.
|
// String generates a human-readable representation of the current tree.
|
||||||
// Output spans multiple lines, and is suitable for ingest by a TOML parser
|
// Output spans multiple lines, and is suitable for ingest by a TOML parser
|
||||||
func (t *TomlTree) String() string {
|
func (t *TomlTree) String() string {
|
||||||
return t.toToml("", "")
|
return t.toToml("", "")
|
||||||
|
|||||||
Reference in New Issue
Block a user