diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/slices/slices.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/slices/slices.go b/src/slices/slices.go index a5734a17bf..d96dd8d37c 100644 --- a/src/slices/slices.go +++ b/src/slices/slices.go @@ -477,7 +477,7 @@ func Concat[S ~[]E, E any](slices ...S) S { } // Repeat returns a new slice that repeats the provided slice the given number of times. -// The result has length and capacity len(x) * count. +// The result has length and capacity (len(x) * count). // The result is never nil. // Repeat panics if count is negative or if the result of (len(x) * count) // overflows. |
