core/text: Text::substrings is private
authorJean Privat <jean@pryen.org>
Sun, 29 Nov 2015 01:12:56 +0000 (20:12 -0500)
committerJean Privat <jean@pryen.org>
Mon, 30 Nov 2015 16:42:45 +0000 (11:42 -0500)
Signed-off-by: Jean Privat <jean@pryen.org>

lib/core/text/abstract_text.nit

index 64c22c0..e114d35 100644 (file)
@@ -68,7 +68,7 @@ abstract class Text
        fun substring(from: Int, count: Int): SELFTYPE is abstract
 
        # Iterates on the substrings of self if any
-       fun substrings: Iterator[FlatText] is abstract
+       private fun substrings: Iterator[FlatText] is abstract
 
        # Is the current Text empty (== "")
        #