range: fix Range::init documentation
authorAlexandre Terrasa <alexandre@moz-code.org>
Thu, 20 Nov 2014 02:19:56 +0000 (21:19 -0500)
committerAlexandre Terrasa <alexandre@moz-code.org>
Thu, 20 Nov 2014 02:19:56 +0000 (21:19 -0500)
Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>

lib/standard/collection/range.nit

index 39c1aab..d59c86e 100644 (file)
@@ -55,7 +55,7 @@ class Range[E: Discrete]
        redef fun is_empty do return first >= after
 
        # Create a range [`from`, `to`].
-       # The syntax `[from..to[` is equivalent.
+       # The syntax `[from..to]` is equivalent.
        init(from: E, to: E) is old_style_init do
                first = from
                last = to