mirror of
https://github.com/zedeus/nitter
synced 2026-09-05 22:59:31 +00:00
Minor cleanup
This commit is contained in:
parent
384b0a2033
commit
2128b280b4
2 changed files with 12 additions and 10 deletions
|
|
@ -159,7 +159,6 @@ proc replacedWith(runes: seq[Rune]; repls: openArray[ReplaceSlice];
|
|||
|
||||
result = newStringOfCap(runes.len)
|
||||
|
||||
var upperBound = textSlice.b
|
||||
for i, rep in repls:
|
||||
result.add $runes[extractLowerBound(i, i - 1) ..< rep.slice.a]
|
||||
case rep.kind
|
||||
|
|
|
|||
Loading…
Reference in a new issue