aboutsummaryrefslogtreecommitdiff
path: root/examples/10-while/src
diff options
context:
space:
mode:
Diffstat (limited to 'examples/10-while/src')
-rw-r--r--examples/10-while/src/Counting.shed2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/10-while/src/Counting.shed b/examples/10-while/src/Counting.shed
index 81d637a2..aa95f536 100644
--- a/examples/10-while/src/Counting.shed
+++ b/examples/10-while/src/Counting.shed
@@ -8,7 +8,7 @@ fun message(count: Int) -> String {
}
}
-fun main() ! Io -> Unit {
+pub fun main() ! Io -> Unit {
var count = 1;
while (count != 4) {