From 1e679748ecedfb0e894c5028eb8c67f44e47507a Mon Sep 17 00:00:00 2001 From: Max Inden Date: Sun, 12 Apr 2020 15:41:14 +0200 Subject: [PATCH] docs: remove duplicate "a listener" (#2395) --- tokio/src/signal/ctrl_c.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tokio/src/signal/ctrl_c.rs b/tokio/src/signal/ctrl_c.rs index 2240052ce..1eeeb85aa 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 ///