diff options
Diffstat (limited to 'generic/threadshare/src/runtime/executor/async_wrapper.rs')
-rw-r--r-- | generic/threadshare/src/runtime/executor/async_wrapper.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/threadshare/src/runtime/executor/async_wrapper.rs b/generic/threadshare/src/runtime/executor/async_wrapper.rs index 7da220010..f0e235f1a 100644 --- a/generic/threadshare/src/runtime/executor/async_wrapper.rs +++ b/generic/threadshare/src/runtime/executor/async_wrapper.rs @@ -649,7 +649,7 @@ impl Async<UdpSocket> { /// Sends data to the specified address. /// - /// Returns the number of bytes writen. + /// Returns the number of bytes written. pub async fn send_to<A: Into<SocketAddr>>(&self, buf: &[u8], addr: A) -> io::Result<usize> { let addr = addr.into(); self.write_with(|io| io.send_to(buf, addr)).await |