Skip to content

Commit

Permalink
fixed typo in comment
Browse files Browse the repository at this point in the history
  • Loading branch information
matthias314 authored Jan 19, 2025
1 parent 98d7e28 commit ea0995e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/util/util.go
Original file line number Diff line number Diff line change
Expand Up @@ -320,7 +320,7 @@ func RunePos(b []byte, i int) int {
return CharacterCount(b[:i])
}

// IndexAnyUnquoted returns the first position is s of a character from chars.
// IndexAnyUnquoted returns the first position in s of a character from chars.
// Escaped (with '\\') and quoted (with single or double quotes) characters
// are ignored. Returns -1 if not successful
func IndexAnyUnquoted(s, chars string) int {
Expand Down

0 comments on commit ea0995e

Please sign in to comment.