Skip to content

Commit 27aed0d

Browse files
committed
Remove unused functions
1 parent 1ca6b64 commit 27aed0d

File tree

2 files changed

+0
-20
lines changed

2 files changed

+0
-20
lines changed

search.go

Lines changed: 0 additions & 11 deletions
This file was deleted.

stringbuilder.go

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -121,15 +121,6 @@ func (s *StringBuilder) AsRune() []rune {
121121
return s.data[:s.position]
122122
}
123123

124-
// Replaces all occurences of a given string with a new one
125-
func (s *StringBuilder) replace(original string, new string) {
126-
occurences := findAllText(s.AsRune(), original)
127-
128-
for _, _ = range occurences {
129-
130-
}
131-
}
132-
133124
func (s *StringBuilder) grow(lenToAdd int) {
134125
// Grow times 2 until lenToAdd fits
135126
newLen := cap(s.data)

0 commit comments

Comments
 (0)