Index: sdk/lib/io/socket.dart |
diff --git a/sdk/lib/io/socket.dart b/sdk/lib/io/socket.dart |
index 1680f6b805f37c7bdcf360fb0842dac4bfec840b..ac3444c1e68b586d880014fca9387cdc3d913b92 100644 |
--- a/sdk/lib/io/socket.dart |
+++ b/sdk/lib/io/socket.dart |
@@ -125,7 +125,7 @@ class RawSocketEvent { |
*/ |
abstract class RawSocket implements Stream<RawSocketEvent> { |
/** |
- * Creats a new socket connection to the host and port and returns a [Future] |
+ * Creates a new socket connection to the host and port and returns a [Future] |
* that will complete with either a [RawSocket] once connected or an error |
* if the host-lookup or connection failed. |
*/ |
@@ -216,7 +216,7 @@ abstract class Socket implements Stream<List<int>>, |
IOSink<Socket> { |
/** |
* Creats a new socket connection to the host and port and returns a [Future] |
- * that will complete with either a [RawSocket] once connected or an error |
+ * that will complete with either a [Socket] once connected or an error |
* if the host-lookup or connection failed. |
*/ |
external static Future<Socket> connect(String host, int port); |