This commit is contained in:
Aliaksandr Valialkin 2024-05-09 20:19:01 +02:00
parent 7c1955d7c3
commit 28db8795ee
No known key found for this signature in database
GPG key ID: 52C003EE2BCDB9EB

View file

@ -31,10 +31,7 @@ type tokenizer struct {
} }
func (t *tokenizer) reset() { func (t *tokenizer) reset() {
m := t.m clear(t.m)
for k := range m {
delete(m, k)
}
} }
func tokenizeString(dst map[string]struct{}, s string) { func tokenizeString(dst map[string]struct{}, s string) {