https://kotlinlang.org logo
a

arekolek

02/01/2020, 4:16 PM
IDE suggests that you can replace it with
Copy code
slots.indices.associateWith { it * it }
👍 6
🏌️‍♂️ 1