Skip to content

Commit 732922d

Browse files
authored
chore: Fix typos (#201)
1 parent e9e464a commit 732922d

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1639,7 +1639,7 @@ impl Async<UdpSocket> {
16391639

16401640
/// Sends data to the specified address.
16411641
///
1642-
/// Returns the number of bytes writen.
1642+
/// Returns the number of bytes written.
16431643
///
16441644
/// # Examples
16451645
///

src/os/unix.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ use std::os::unix::io::BorrowedFd;
1515
/// associated with `poll()`, this function will return `None`.
1616
///
1717
/// There is presently no way to stop the "`async-io`" thread from being launched, so the reactor
18-
/// will still be continiously polled on that thread. This fact should be kept in mind by anyone
18+
/// will still be continuously polled on that thread. This fact should be kept in mind by anyone
1919
/// looking to integrate `async-io` into another runtime using this function.
2020
///
2121
/// It is possible to use this function to call raw system calls on the underlying event source.

src/os/windows.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ use std::task::{Context, Poll};
2828
/// ## Implementation
2929
///
3030
/// The current implementation waits on the handle by registering it in the application-global
31-
/// Win32 threadpool. However, in the futur it may be possible to migrate to an implementation
31+
/// Win32 threadpool. However, in the future it may be possible to migrate to an implementation
3232
/// on Windows 10 that uses a mechanism similar to [`MsgWaitForMultipleObjectsEx`].
3333
///
3434
/// [`MsgWaitForMultipleObjectsEx`]: https://docs.microsoft.com/en-us/windows/win32/api/winuser/nf-winuser-msgwaitformultipleobjectsex

0 commit comments

Comments
 (0)