From 17e829217e9fb8af368262256c9700a2bfb98dfa Mon Sep 17 00:00:00 2001 From: Elias Rohrer Date: Mon, 11 Dec 2023 19:48:51 +0100 Subject: [PATCH] Fix leftover `rustdoc` warnings .. as these slipped in again. --- lightning/src/lib.rs | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/lightning/src/lib.rs b/lightning/src/lib.rs index df1bb1a2a..c42f66da5 100644 --- a/lightning/src/lib.rs +++ b/lightning/src/lib.rs @@ -40,9 +40,8 @@ #![cfg_attr(not(any(test, fuzzing, feature = "_test_utils")), deny(missing_docs))] #![cfg_attr(not(any(test, feature = "_test_utils")), forbid(unsafe_code))] -// Prefix these with `rustdoc::` when we update our MSRV to be >= 1.52 to remove warnings. -#![deny(broken_intra_doc_links)] -#![deny(private_intra_doc_links)] +#![deny(rustdoc::broken_intra_doc_links)] +#![deny(rustdoc::private_intra_doc_links)] // In general, rust is absolutely horrid at supporting users doing things like, // for example, compiling Rust code for real environments. Disable useless lints -- 2.39.5