Intention to simplify for using destructing declaration
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
val map = hashMapOf(1 to 2)
|
||||
for (<spot>entry</spot> in map.entries) {
|
||||
val key = entry.key
|
||||
val value = entry.value
|
||||
}
|
||||
Reference in New Issue
Block a user