Skip to content

Commit

Permalink
docs: Small correction to UdpSocket::recv documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
JDepooter authored and Thomasdezeeuw committed Feb 19, 2019
1 parent 3eb6a80 commit b805b1d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/net/udp.rs
Expand Up @@ -275,7 +275,7 @@ impl UdpSocket {
}

/// Receives data from the socket previously bound with connect(). On success, returns
/// the number of bytes read and the address from whence the data came.
/// the number of bytes read.
pub fn recv(&self, buf: &mut [u8]) -> io::Result<usize> {
self.sys.recv(buf)
}
Expand Down

0 comments on commit b805b1d

Please sign in to comment.