diff options
author | Max Inden <mail@max-inden.de> | 2020-04-12 15:41:14 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-12 15:41:14 +0200 |
commit | 1e679748ecedfb0e894c5028eb8c67f44e47507a (patch) | |
tree | 694b3e19c386b6cb44c8a884bce17cae1bfdc447 /tokio/src/signal | |
parent | 3137c6f07dabc4edc37acf717fd8c565bd78927b (diff) |
docs: remove duplicate "a listener" (#2395)
Diffstat (limited to 'tokio/src/signal')
-rw-r--r-- | tokio/src/signal/ctrl_c.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tokio/src/signal/ctrl_c.rs b/tokio/src/signal/ctrl_c.rs index 2240052c..1eeeb85a 100644 --- a/tokio/src/signal/ctrl_c.rs +++ b/tokio/src/signal/ctrl_c.rs @@ -11,9 +11,9 @@ use std::io; /// platforms support receiving a signal on "ctrl-c". This function provides a /// portable API for receiving this notification. /// -/// Once the returned future is polled, a listener a listener is registered. The -/// future will complete on the first received `ctrl-c` **after** the initial -/// call to either `Future::poll` or `.await`. +/// Once the returned future is polled, a listener is registered. The future +/// will complete on the first received `ctrl-c` **after** the initial call to +/// either `Future::poll` or `.await`. /// /// # Caveats /// |