mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2025-08-10 16:54:33 +02:00
scala: consistent code format
This commit is contained in:
@@ -241,7 +241,7 @@ i // Show the value of i. Note that while is a loop in the classical sense -
|
|||||||
|
|
||||||
// A do while loop
|
// A do while loop
|
||||||
do {
|
do {
|
||||||
println("x is still less than 10");
|
println("x is still less than 10")
|
||||||
x += 1
|
x += 1
|
||||||
} while (x < 10)
|
} while (x < 10)
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user