Skip to content

Commit 623c4c8

Browse files
authored
Rollup merge of rust-lang#109593 - coop-rs:missing_doc_code_examples, r=GuillaumeGomez
Rustdoc Book refer to rustdoc::missing_doc_code_examples. Fixes rust-lang#109592. Fixes rust-lang#109592. But, please see a related question at rust-lang#109592 (item `2.`).
2 parents df25f15 + 1491c6f commit 623c4c8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/doc/rustdoc/src/write-documentation/what-to-include.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ warning: 1 warning emitted
3939
As a library author, adding the lint `#![deny(missing_docs)]` is a great way to
4040
ensure the project does not drift away from being documented well, and
4141
`#![warn(missing_docs)]` is a good way to move towards comprehensive
42-
documentation. In addition to docs, `#![deny(missing_doc_code_examples)]`
42+
documentation. In addition to docs, `#![deny(rustdoc::missing_doc_code_examples)]`
4343
ensures each function contains a usage example. In our example above, the
4444
warning is resolved by adding crate level documentation.
4545

0 commit comments

Comments
 (0)