vendor: update c/common

Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
This commit is contained in:
Giuseppe Scrivano
2025-03-20 13:14:42 +01:00
parent 2b0aef554e
commit 88b62d2c27
219 changed files with 15969 additions and 3857 deletions

View File

@@ -15,7 +15,7 @@ import (
// StringInSlice determines if a string is in a string slice, returns bool.
//
// Deprecated: Use [golang.org/x/exp/slices.Contains] instead.
// Deprecated: Use [slices.Contains] instead.
func StringInSlice(s string, sl []string) bool {
return slices.Contains(sl, s)
}