mirror of
https://github.com/junegunn/fzf.git
synced 2026-10-11 15:49:20 +08:00
Minor refactorings
This commit is contained in:
4 files changed
+4
-4
No files matched your search
+1
-1
@@ -160,7 +160,7 @@ func (chars *Chars) CopyRunes(dest []rune) {
|
||||
copy(dest, runes)
|
||||
return
|
||||
}
|
||||
for idx, b := range chars.slice {
|
||||
for idx, b := range chars.slice[:len(dest)] {
|
||||
dest[idx] = rune(b)
|
||||
}
|
||||
return
|
||||
|
||||
Reference in new issue
Block a user