mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2024-12-23 09:41:36 +00:00
removed unnecessary brackets
This commit is contained in:
parent
1bec0f6089
commit
f8f644d891
@ -133,7 +133,7 @@ fun helloWorld(val name : String) {
|
||||
The name of the single parameter will be "it".
|
||||
*/
|
||||
val notPositive = not {it > 0}
|
||||
for (i in (0..4)) {
|
||||
for (i in 0..4) {
|
||||
println("${notOdd(i)} ${notEven(i)} ${notZero(i)} ${notPositive(i)}")
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user