diff options
Diffstat (limited to 'tokio/src/net/tcp/listener.rs')
-rw-r--r-- | tokio/src/net/tcp/listener.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tokio/src/net/tcp/listener.rs b/tokio/src/net/tcp/listener.rs index 3f9bca03..ab3bc7de 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<io::Result<(TcpStream, SocketAddr)>> { loop { |