From c98083758196bd79e6a359331256538f62553ff9 Mon Sep 17 00:00:00 2001 From: Marek Kotewicz Date: Sun, 13 Jan 2019 21:20:08 +0100 Subject: [PATCH] docs: missing links in tokio-timer::delay_queue (#845) --- tokio-timer/src/delay_queue.rs | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/tokio-timer/src/delay_queue.rs b/tokio-timer/src/delay_queue.rs index 9c5ec9660..51b8b7332 100644 --- a/tokio-timer/src/delay_queue.rs +++ b/tokio-timer/src/delay_queue.rs @@ -152,7 +152,9 @@ pub struct DelayQueue { /// An entry in `DelayQueue` that has expired and removed. /// -/// Values are returned by `DelayQueue::poll`. +/// Values are returned by [`DelayQueue::poll`]. +/// +/// [`DelayQueue::poll`]: struct.DelayQueue.html#method.poll #[derive(Debug)] pub struct Expired { /// The data stored in the queue @@ -167,10 +169,11 @@ pub struct Expired { /// Token to a value stored in a `DelayQueue`. /// -/// Instances of `Key` are returned by `DelayQueue::insert`. See [`DelayQueue`] +/// Instances of `Key` are returned by [`DelayQueue::insert`]. See [`DelayQueue`] /// documentation for more details. /// /// [`DelayQueue`]: struct.DelayQueue.html +/// [`DelayQueue::insert`]: struct.DelayQueue.html#method.insert #[derive(Debug, Clone)] pub struct Key { index: usize,