aboutsummaryrefslogtreecommitdiff
path: root/src/aur.nim
diff options
context:
space:
mode:
authorkitsunyan2019-12-20 04:52:44 +0000
committerkitsunyan2019-12-20 04:52:44 +0000
commitcb433c355d168a0a0c0de2538b372f1fab18b868 (patch)
tree9fe29907e0b48ebb09bf0459ab0147fb84133d1d /src/aur.nim
parent90d4c4be3bc15b2f594a0046c07b6f8654659ad5 (diff)
Fix some deprecations
Diffstat (limited to 'src/aur.nim')
-rw-r--r--src/aur.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/aur.nim b/src/aur.nim
index 781029c..399183c 100644
--- a/src/aur.nim
+++ b/src/aur.nim
@@ -114,7 +114,7 @@ proc getAurPackageInfos*(pkgs: seq[string], repo: string, arch: string, useTimeo
let table = infos.map(i => (i.rpc.name, i)).toTable
let pkgInfos = lc[x | (p <- pkgs, x <- table.opt(p)), PackageInfo]
- let names = rpcInfos.map(i => i.name).toSet
+ let names = rpcInfos.map(i => i.name).toHashSet
let additionalPkgInfos = infos.filter(i => not (i.rpc.name in names))
(pkgInfos, additionalPkgInfos, errors)