mirror of
https://github.com/junegunn/fzf.git
synced 2025-08-18 05:53:49 -07:00
Code cleanup (#1640)
- Replaced time.Now().Sub() with time.Since() - Replaced unnecessary string/byte slice conversions - Removed obsolete return and value assignment in range loop
This commit is contained in:
committed by
Junegunn Choi
parent
7322504ad0
commit
a1260feeed
@@ -169,7 +169,6 @@ func (chars *Chars) CopyRunes(dest []rune) {
|
||||
for idx, b := range chars.slice[:len(dest)] {
|
||||
dest[idx] = rune(b)
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
func (chars *Chars) Prepend(prefix string) {
|
||||
|
Reference in New Issue
Block a user