Skip to content

Commit 61b7223

Browse files
Fix typo in a comment (#266)
Co-authored-by: alex-theqoos <[email protected]>
1 parent fcd0515 commit 61b7223

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

file.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -502,7 +502,7 @@ func (f *File) WriteTo(w io.Writer) (int64, error) {
502502
// SaveToIndent writes content to file system with given value indention.
503503
func (f *File) SaveToIndent(filename, indent string) error {
504504
// Note: Because we are truncating with os.Create,
505-
// so it's safer to save to a temporary file location and rename afte done.
505+
// so it's safer to save to a temporary file location and rename after done.
506506
buf, err := f.writeToBuffer(indent)
507507
if err != nil {
508508
return err

ini.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ type LoadOptions struct {
113113
UnparseableSections []string
114114
// KeyValueDelimiters is the sequence of delimiters that are used to separate key and value. By default, it is "=:".
115115
KeyValueDelimiters string
116-
// KeyValueDelimiters is the delimiter that are used to separate key and value output. By default, it is "=".
116+
// KeyValueDelimiterOnWrite is the delimiter that are used to separate key and value output. By default, it is "=".
117117
KeyValueDelimiterOnWrite string
118118
// ChildSectionDelimiter is the delimiter that is used to separate child sections. By default, it is ".".
119119
ChildSectionDelimiter string

0 commit comments

Comments
 (0)