From ea0995e0489d44a3ea2e67df62998df3a3759e34 Mon Sep 17 00:00:00 2001 From: matthias314 <56549971+matthias314@users.noreply.github.com> Date: Sun, 19 Jan 2025 14:50:26 -0500 Subject: [PATCH] fixed typo in comment --- internal/util/util.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/util/util.go b/internal/util/util.go index 858e6dcc80..d3b34bad1b 100644 --- a/internal/util/util.go +++ b/internal/util/util.go @@ -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 {