diff options
author | Yoshiya Hinosawa <stibium121@gmail.com> | 2020-01-10 04:50:48 +0900 |
---|---|---|
committer | Carl Lerche <me@carllerche.com> | 2020-01-09 11:50:48 -0800 |
commit | bd28a7a767692f84c4dd0a78556ba5cb76d258e5 (patch) | |
tree | 7ff80f396c5fb498032c22826ef35509579f1d0d /tokio/src/signal | |
parent | 275769b5b90e9cf33c8d37f1ba176cacb508399e (diff) |
docs: fix typo and issue reference (#2080)
Diffstat (limited to 'tokio/src/signal')
-rw-r--r-- | tokio/src/signal/unix.rs | 6 |
1 files changed, 4 insertions, 2 deletions
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]) { |