Skip to content

Commit 55d20bf

Browse files
update docs of rustdoc lints
1 parent 48c17a0 commit 55d20bf

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/librustc/lint/builtin.rs

+3-3
Original file line numberDiff line numberDiff line change
@@ -309,19 +309,19 @@ declare_lint! {
309309
declare_lint! {
310310
pub INTRA_DOC_LINK_RESOLUTION_FAILURE,
311311
Warn,
312-
"warn about documentation intra links resolution failure"
312+
"failures in resolving intra-doc link targets"
313313
}
314314

315315
declare_lint! {
316316
pub MISSING_DOC_CODE_EXAMPLES,
317317
Allow,
318-
"warn about missing code example in an item's documentation"
318+
"detects publicly-exported items without code samples in their documentation"
319319
}
320320

321321
declare_lint! {
322322
pub PRIVATE_DOC_TESTS,
323323
Allow,
324-
"warn about doc test in private item"
324+
"detects code samples in docs of private items not documented by rustdoc"
325325
}
326326

327327
declare_lint! {

0 commit comments

Comments
 (0)