docs: fix some typos

This commit is contained in:
Ben Boeckel
2017-09-14 16:19:45 -04:00
parent 317c11552c
commit de33e02c01
3 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -137,7 +137,7 @@ impl UdpSocket {
/// Sends data on the socket to the given address. On success, returns the
/// number of bytes written.
///
/// Address type can be any implementor of `ToSocketAddrs` trait. See its
/// Address type can be any implementer of `ToSocketAddrs` trait. See its
/// documentation for concrete examples.
pub fn send_to(&self, buf: &[u8], target: &SocketAddr) -> io::Result<usize> {
if let Async::NotReady = self.io.poll_write() {