update docs of rustdoc lints
This commit is contained in:
parent
48c17a0938
commit
55d20bf1b2
1 changed files with 3 additions and 3 deletions
|
@ -309,19 +309,19 @@ declare_lint! {
|
||||||
declare_lint! {
|
declare_lint! {
|
||||||
pub INTRA_DOC_LINK_RESOLUTION_FAILURE,
|
pub INTRA_DOC_LINK_RESOLUTION_FAILURE,
|
||||||
Warn,
|
Warn,
|
||||||
"warn about documentation intra links resolution failure"
|
"failures in resolving intra-doc link targets"
|
||||||
}
|
}
|
||||||
|
|
||||||
declare_lint! {
|
declare_lint! {
|
||||||
pub MISSING_DOC_CODE_EXAMPLES,
|
pub MISSING_DOC_CODE_EXAMPLES,
|
||||||
Allow,
|
Allow,
|
||||||
"warn about missing code example in an item's documentation"
|
"detects publicly-exported items without code samples in their documentation"
|
||||||
}
|
}
|
||||||
|
|
||||||
declare_lint! {
|
declare_lint! {
|
||||||
pub PRIVATE_DOC_TESTS,
|
pub PRIVATE_DOC_TESTS,
|
||||||
Allow,
|
Allow,
|
||||||
"warn about doc test in private item"
|
"detects code samples in docs of private items not documented by rustdoc"
|
||||||
}
|
}
|
||||||
|
|
||||||
declare_lint! {
|
declare_lint! {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue