From bd28a7a767692f84c4dd0a78556ba5cb76d258e5 Mon Sep 17 00:00:00 2001 From: Yoshiya Hinosawa Date: Fri, 10 Jan 2020 04:50:48 +0900 Subject: docs: fix typo and issue reference (#2080) --- tokio/src/signal/unix.rs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'tokio/src/signal') diff --git a/tokio/src/signal/unix.rs b/tokio/src/signal/unix.rs index bfa2e309..0500fa19 100644 --- a/tokio/src/signal/unix.rs +++ b/tokio/src/signal/unix.rs @@ -294,9 +294,11 @@ impl Driver { /// Drain all data in the global receiver, ensuring we'll get woken up when /// there is a write on the other end. /// - /// We do *NOT* use the existence of any read bytes as evidence a sigal was + /// We do *NOT* use the existence of any read bytes as evidence a signal was /// received since the `pending` flags would have already been set if that - /// was the case. See #38 for more info. + /// was the case. See + /// [#38](https://github.com/alexcrichton/tokio-signal/issues/38) for more + /// info. fn drain(&mut self, cx: &mut Context<'_>) { loop { match Pin::new(&mut self.wakeup).poll_read(cx, &mut [0; 128]) { -- cgit v1.2.3