Fix CI to error on doc links to private items
[rust-lightning] / lightning-net-tokio / src / lib.rs
index 645a7434e4536534138c5dd6150fe52bad55ff0c..f980addefcfd56f2574bc54e969626491cdcbae7 100644 (file)
 //! }
 //! ```
 
+// Prefix these with `rustdoc::` when we update our MSRV to be >= 1.52 to remove warnings.
 #![deny(broken_intra_doc_links)]
-#![deny(missing_docs)]
+#![deny(private_intra_doc_links)]
 
+#![deny(missing_docs)]
 #![cfg_attr(docsrs, feature(doc_auto_cfg))]
 
 use bitcoin::secp256k1::PublicKey;