From 8a7bb2bb66f86f2e106b85145eae824f84da2419 Mon Sep 17 00:00:00 2001 From: Spencer Imbleau Date: Sun, 16 May 2021 12:58:52 -0400 Subject: [PATCH] Fixed item typo which did not need prefix --- src/doc/rustdoc/src/lints.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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() {}