Skip to content

doesn't work in case the array B is empty#5

Open
eduard1963 wants to merge 1 commit intosiongui:masterfrom
eduard1963:patch-1
Open

doesn't work in case the array B is empty#5
eduard1963 wants to merge 1 commit intosiongui:masterfrom
eduard1963:patch-1

Conversation

@eduard1963
Copy link

if need to to be changed:
if _, ok := m[item]; !ok || len(m) == 0 {

if need to to be changed:
if _, ok := m[item]; !ok || len(m) == 0 {
@siongui
Copy link
Owner

siongui commented Nov 11, 2021

Actually it works if B is empty. Please give an example in Go playground where it does not work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants