-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
Hello, while researching for this Go proposal I noticed this code:
slices.Delete(dependency.Dependents, dependentIndex, dependentIndex + 1)
which probably doesn't behave as intended because the returned value of slices.Delete is ignored.
Deleting elements inside the range dependency.Dependents
loop is tricky to reason about, so I would suggest using slices.DeleteFunc.
Metadata
Metadata
Assignees
Labels
No labels