diff --git a/tokio/src/net/tcp/listener.rs b/tokio/src/net/tcp/listener.rs index 3f9bca038..ab3bc7dec 100644 --- a/tokio/src/net/tcp/listener.rs +++ b/tokio/src/net/tcp/listener.rs @@ -177,7 +177,7 @@ impl TcpListener { /// current task will be notified by a waker. /// /// When ready, the most recent task that called `poll_accept` is notified. - /// The caller is responsble to ensure that `poll_accept` is called from a + /// The caller is responsible to ensure that `poll_accept` is called from a /// single task. Failing to do this could result in tasks hanging. pub fn poll_accept(&self, cx: &mut Context<'_>) -> Poll> { loop { diff --git a/tokio/src/net/unix/listener.rs b/tokio/src/net/unix/listener.rs index b27264563..4e0d9ede3 100644 --- a/tokio/src/net/unix/listener.rs +++ b/tokio/src/net/unix/listener.rs @@ -115,7 +115,7 @@ impl UnixListener { /// the current task will be notified by a waker. /// /// When ready, the most recent task that called `poll_accept` is notified. - /// The caller is responsble to ensure that `poll_accept` is called from a + /// The caller is responsible to ensure that `poll_accept` is called from a /// single task. Failing to do this could result in tasks hanging. pub fn poll_accept(&self, cx: &mut Context<'_>) -> Poll> { loop {