1
Fork 0

Add documentation for private_intra_doc_links

This commit is contained in:
Joshua Nelson 2020-09-27 10:07:00 -04:00
parent 03d8be0896
commit 80ffaed809
2 changed files with 41 additions and 1 deletions

View file

@ -1831,7 +1831,7 @@ declare_lint! {
/// a public item to a private one. This is a `rustdoc` only lint, see the
/// documentation in the [rustdoc book].
///
/// [rustdoc book]: ../../../rustdoc/lints.html#broken_intra_doc_links
/// [rustdoc book]: ../../../rustdoc/lints.html#private_intra_doc_links
pub PRIVATE_INTRA_DOC_LINKS,
Warn,
"linking from a public item to a private one"