We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1ca6b64 commit 27aed0dCopy full SHA for 27aed0d
search.go
stringbuilder.go
@@ -121,15 +121,6 @@ func (s *StringBuilder) AsRune() []rune {
121
return s.data[:s.position]
122
}
123
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
133
func (s *StringBuilder) grow(lenToAdd int) {
134
// Grow times 2 until lenToAdd fits
135
newLen := cap(s.data)
0 commit comments