mirror of
https://github.com/bettercap/bettercap
synced 2025-08-19 21:13:18 -07:00
misc: small fix or general refactoring i did not bother commenting
This commit is contained in:
parent
557d7dbe17
commit
b8d8c459c8
1 changed files with 1 additions and 1 deletions
|
@ -30,7 +30,7 @@ func UniqueInts(a []int, sorted bool) []int {
|
|||
tmp[n] = true
|
||||
}
|
||||
|
||||
for n, _ := range tmp {
|
||||
for n := range tmp {
|
||||
uniq = append(uniq, n)
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue