style: deduplicate types in function signatures (#2322)
This commit is contained in:
1 parent
d8b9026ef2
commit
eb01cb7c7b
6 files changed
+11
-11
No files matched your search
+1
-1
@@ -239,7 +239,7 @@ func matchCmd(s string) (matches []compMatch, result string) {
|
||||
return
|
||||
}
|
||||
|
||||
func matchFile(s string, dirOnly bool, escape func(string) string, unescape func(string) string) (matches []compMatch, result string) {
|
||||
func matchFile(s string, dirOnly bool, escape, unescape func(string) string) (matches []compMatch, result string) {
|
||||
dir, file := filepath.Split(unescape(replaceTilde(s)))
|
||||
|
||||
d := dir
|
||||
|
||||
Reference in new issue
Block a user