diff --git a/docs/topics/generics.md b/docs/topics/generics.md index 7a0772ee7c7..4a17b5ffda1 100644 --- a/docs/topics/generics.md +++ b/docs/topics/generics.md @@ -239,8 +239,8 @@ You can project a type with `in` as well: fun fill(dest: Array, value: String) { ... } ``` -`Array` corresponds to Java's `Array`. This means that you can pass an array of `CharSequence` -or an array of `Object` to the `fill()` function. +`Array` corresponds to Java's `Array`. This means that you can pass an array of `String`, `CharSequence`, +or `Object` to the `fill()` function. ### Star-projections