Comment Comment by irq-1 You're right. Just for information, slices.Contains() uses the index, not a copied value.https://cs.opensource.google/go/go/+/refs/tags/go1.26.5:src/... parent irq-1 3 months ago
https://cs.opensource.google/go/go/+/refs/tags/go1.26.5:src/...