mirror of
https://github.com/cwinfo/yggdrasil-go.git
synced 2025-06-16 00:56:09 +00:00
Make changes based on review comments
This commit is contained in:
@ -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)
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user