lib/socket: remove useless types
authorAlexandre Terrasa <alexandre@moz-code.org>
Thu, 21 May 2015 21:27:22 +0000 (17:27 -0400)
committerAlexandre Terrasa <alexandre@moz-code.org>
Thu, 28 May 2015 13:56:12 +0000 (09:56 -0400)
Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>

lib/socket/socket.nit

index d553540..a665b41 100644 (file)
@@ -141,7 +141,7 @@ class TCPStream
        end
 
        # If socket.end_reached, nothing will happen
-       redef fun write(msg: Text)
+       redef fun write(msg)
        do
                if closed then return
                socket.write(msg.to_s)