aboutsummaryrefslogtreecommitdiff
path: root/examples/guessing.sloth
diff options
context:
space:
mode:
Diffstat (limited to 'examples/guessing.sloth')
-rw-r--r--examples/guessing.sloth3
1 files changed, 2 insertions, 1 deletions
diff --git a/examples/guessing.sloth b/examples/guessing.sloth
index 49c0bde..ef680c9 100644
--- a/examples/guessing.sloth
+++ b/examples/guessing.sloth
@@ -20,7 +20,8 @@ fn main() Int {
}
print("It took you ");
- print(istr(tries));
+ var s: String = istr(tries);
+ print(s);
println(" to guess correctly!");
return 0;