Fix CI to error on doc links to private items
[rust-lightning] / lightning-persister / src / lib.rs
index 3e32791711e1428746eaadef6f26f11248370439..a63f11ca1b19c1b485c739e44375cc9da11109ed 100644 (file)
@@ -1,6 +1,9 @@
 //! Utilities that handle persisting Rust-Lightning data to disk via standard filesystem APIs.
 
+// 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(missing_docs)]
 
 #![cfg_attr(docsrs, feature(doc_auto_cfg))]