diff options
| author | Nic Gaffney <gaffney_nic@protonmail.com> | 2023-06-28 18:46:36 -0500 |
|---|---|---|
| committer | Nic Gaffney <gaffney_nic@protonmail.com> | 2023-06-28 18:46:36 -0500 |
| commit | 8262abdea18cdb873b2012411bfebe131fb37d52 (patch) | |
| tree | 920903ef91ffe2d4b7dd24b0d34a616d424c3732 /examples/guessing.sloth | |
| parent | 73843fa284968b4efb0ae51858cb37d0189c4b83 (diff) | |
| download | sloth-8262abdea18cdb873b2012411bfebe131fb37d52.tar.gz | |
std
Diffstat (limited to 'examples/guessing.sloth')
| -rw-r--r-- | examples/guessing.sloth | 3 |
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; |
