diff options
| author | Bastien Orivel <eijebong@bananium.fr> | 2017-08-11 20:34:14 +0200 |
|---|---|---|
| committer | Bastien Orivel <eijebong@bananium.fr> | 2017-08-12 14:01:11 +0200 |
| commit | 3ab86fbab281ca059731c31fa2aee5d9afc7e6dc (patch) | |
| tree | 27758d734abda3918162b48a379a9dbf556a4a84 /src/libstd/net | |
| parent | 59f6b8338e866b022941ff78ccc82ccef73a52fd (diff) | |
| download | rust-3ab86fbab281ca059731c31fa2aee5d9afc7e6dc.tar.gz rust-3ab86fbab281ca059731c31fa2aee5d9afc7e6dc.zip | |
Fix some typos
Diffstat (limited to 'src/libstd/net')
| -rw-r--r-- | src/libstd/net/tcp.rs | 2 | ||||
| -rw-r--r-- | src/libstd/net/udp.rs | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/libstd/net/tcp.rs b/src/libstd/net/tcp.rs index fdeca8bc5ca..20fd50ff630 100644 --- a/src/libstd/net/tcp.rs +++ b/src/libstd/net/tcp.rs @@ -351,7 +351,7 @@ impl TcpStream { self.0.write_timeout() } - /// Receives data on the socket from the remote adress to which it is + /// Receives data on the socket from the remote address to which it is /// connected, without removing that data from the queue. On success, /// returns the number of bytes peeked. /// diff --git a/src/libstd/net/udp.rs b/src/libstd/net/udp.rs index 80151dc2b44..9aff9897885 100644 --- a/src/libstd/net/udp.rs +++ b/src/libstd/net/udp.rs @@ -622,7 +622,7 @@ impl UdpSocket { self.0.recv(buf) } - /// Receives data on the socket from the remote adress to which it is + /// Receives data on the socket from the remote address to which it is /// connected, without removing that data from the queue. On success, /// returns the number of bytes peeked. /// |
