examples/rosettacode: fixes useless type declaration
authorAlexandre Terrasa <alexandre@moz-code.org>
Fri, 12 Dec 2014 20:41:47 +0000 (15:41 -0500)
committerAlexandre Terrasa <alexandre@moz-code.org>
Fri, 12 Dec 2014 20:41:47 +0000 (15:41 -0500)
Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>

examples/rosettacode/hailstone.nit

index c1351e1..b76c533 100644 (file)
@@ -41,7 +41,7 @@ print "Sequence for 27 has {size27} begin with: {sequence27[0]}, " +
                 "and end with: {sequence27[size27 - 4]}, {sequence27[size27 - 3]}, " +
                 "{sequence27[size27 - 2]}, {sequence27[size27 - 1]}"
 
-var max: Int = hailstone(1).length
+var max = hailstone(1).length
 var max_sequence = hailstone(1)
 var max_element = 1