range: fix Range::init documentation
[nit.git] / 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