We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5cc55c8 commit e93f3d3Copy full SHA for e93f3d3
docs/topics/generics.md
@@ -239,8 +239,8 @@ You can project a type with `in` as well:
239
fun fill(dest: Array<in String>, value: String) { ... }
240
```
241
242
-`Array<in String>` corresponds to Java's `Array<? super String>`. This means that you can pass an array of `CharSequence`
243
-or an array of `Object` to the `fill()` function.
+`Array<in String>` corresponds to Java's `Array<? super String>`. This means that you can pass an array of `String`, `CharSequence`,
+or `Object` to the `fill()` function.
244
245
### Star-projections
246
0 commit comments