Remove unused internal or unexported functions (#3481)

This commit is contained in:
Oleksandr Redko
2024-11-16 22:19:37 +02:00
committed by GitHub
parent c8eeb788cb
commit b881bf5606
6 changed files with 0 additions and 66 deletions

View File

@@ -51,19 +51,6 @@ func runePos(p int, str []byte) int {
return CharacterCount(str[:p])
}
func combineLineMatch(src, dst LineMatch) LineMatch {
for k, v := range src {
if g, ok := dst[k]; ok {
if g == 0 {
dst[k] = v
}
} else {
dst[k] = v
}
}
return dst
}
// A State represents the region at the end of a line
type State *region