From 21f2fa7dbc6272dd658cb7e5746cdff6560e0344 Mon Sep 17 00:00:00 2001 From: Blas Rodriguez Irizar Date: Tue, 25 Aug 2020 22:05:51 +0200 Subject: [PATCH] fix doc warnings --- tokio-macros/src/lib.rs | 2 +- tokio/src/time/delay_queue.rs | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/tokio-macros/src/lib.rs b/tokio-macros/src/lib.rs index 2bb0c2100f9..320fdbe4cd8 100644 --- a/tokio-macros/src/lib.rs +++ b/tokio-macros/src/lib.rs @@ -6,7 +6,7 @@ rust_2018_idioms, unreachable_pub )] -#![deny(intra_doc_link_resolution_failure)] +#![deny(broken_intra_doc_links)] #![doc(test( no_crate_inject, attr(deny(warnings, rust_2018_idioms), allow(dead_code, unused_variables)) diff --git a/tokio/src/time/delay_queue.rs b/tokio/src/time/delay_queue.rs index a947cc6fe4e..e6bc6bc0df6 100644 --- a/tokio/src/time/delay_queue.rs +++ b/tokio/src/time/delay_queue.rs @@ -403,7 +403,7 @@ impl DelayQueue { /// # } /// ``` /// - /// [`poll`]: method@Self::poll + /// [`poll`]: struct@DelayQueue::poll /// [`remove`]: method@Self::remove /// [`reset`]: method@Self::reset /// [`Key`]: struct@Key @@ -582,7 +582,7 @@ impl DelayQueue { /// /// Note that this method has no effect on the allocated capacity. /// - /// [`poll`]: method@Self::poll + /// [`poll`]: struct@DelayQueue::poll /// /// # Examples ///