mirror of
https://github.com/yggdrasil-network/yggdrasil-go.git
synced 2025-04-28 14:15:06 +03:00
Make changes based on review comments
This commit is contained in:
parent
57eb6eaeb0
commit
917ca6c1c5
5 changed files with 30 additions and 17 deletions
|
@ -87,7 +87,7 @@ func Difference(a, b []string) []string {
|
|||
mb[x] = true
|
||||
}
|
||||
for _, x := range a {
|
||||
if _, ok := mb[x]; !ok {
|
||||
if !mb[x] {
|
||||
ab = append(ab, x)
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue