diff --git a/src/doc/rustdoc/src/lints.md b/src/doc/rustdoc/src/lints.md index a496db600ef9..1c85ee0eeb55 100644 --- a/src/doc/rustdoc/src/lints.md +++ b/src/doc/rustdoc/src/lints.md @@ -112,7 +112,7 @@ This lint is **allowed by default**. It detects items missing documentation. For example: ```rust -#![warn(rustdoc::missing_docs)] +#![warn(missing_docs)] pub fn undocumented() {} # fn main() {}