From: Elias Rohrer Date: Mon, 11 Dec 2023 18:48:51 +0000 (+0100) Subject: Fix leftover `rustdoc` warnings X-Git-Tag: v0.0.119~14^2~3 X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=commitdiff_plain;h=17e829217e9fb8af368262256c9700a2bfb98dfa;p=rust-lightning Fix leftover `rustdoc` warnings .. as these slipped in again. --- 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