This commit is contained in:
Kovid Goyal
2023-02-22 21:52:35 +05:30
parent f40380b05a
commit 4d8ccd8e94

View File

@@ -75,7 +75,7 @@ var ConfigDir = (&Once[string]{Run: func() (config_dir string) {
return Abspath(Expanduser(kcd))
}
var locations []string
seen := Set[string]{}
seen := NewSet[string]()
add := func(x string) {
x = Abspath(Expanduser(x))
if !seen.Has(x) {