diff options
| -rw-r--r-- | design/43651-type-parameters.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/design/43651-type-parameters.md b/design/43651-type-parameters.md index 64f29ea..454059e 100644 --- a/design/43651-type-parameters.md +++ b/design/43651-type-parameters.md @@ -2074,7 +2074,7 @@ There are no constraints on the second type parameter. // SliceConstraint is a type constraint that matches a slice of // the type parameter. type SliceConstraint[T any] interface { - []T + ~[]T } // Map takes a slice of some element type and a transformation function, |
