We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d4f0d68 commit 32aa402Copy full SHA for 32aa402
suffixtree/suffixtree.go
@@ -41,7 +41,7 @@ func New() *STree {
41
// Update refreshes the suffix tree to by new data.
42
func (t *STree) Update(data ...Token) {
43
t.data = append(t.data, data...)
44
- for _ = range data {
+ for range data {
45
t.update()
46
t.s, t.start = t.canonize(t.s, t.start, t.end)
47
t.end++
0 commit comments