commit 32e423860a9e40a27578dc1f9cbd46fbed521d6c
parent ce6593bfde5425353925046423d1bc33a5756558
Author: Drew DeVault <sir@cmpwn.com>
Date: Mon, 21 Jun 2021 14:51:14 -0400
net::dial: fix typo in docs
Signed-off-by: Drew DeVault <sir@cmpwn.com>
Diffstat:
1 file changed, 4 insertions(+), 5 deletions(-)
diff --git a/net/dial/dial.ha b/net/dial/dial.ha
@@ -1,11 +1,10 @@
use io;
use net;
-// Dials a remote address using, establishing a connection and returning the
-// resulting [[io::stream]]. The proto parameter should be the transport
-// protocol (e.g. "tcp"), the address parameter should be the remote address,
-// and the service should be the name of the service, or the default port to
-// use.
+// Dials a remote address, establishing a connection and returning the resulting
+// [[io::stream]]. The proto parameter should be the transport protocol (e.g.
+// "tcp"), the address parameter should be the remote address, and the service
+// should be the name of the service, or the default port to use.
//
// The interpretation of the address and service parameters is dependent on the
// protocol in use. For IP-based protocols (such as TCP or UDP), the address