From 6f1fa2b16376f586285453045788519df527a1b2 Mon Sep 17 00:00:00 2001 From: Manish Goregaokar Date: Sun, 13 Sep 2020 18:16:54 -0700 Subject: [PATCH] Fix lint name in docs --- 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 7c47f74b3c118..89aeb683682ec 100644 --- a/src/doc/rustdoc/src/lints.md +++ b/src/doc/rustdoc/src/lints.md @@ -50,7 +50,7 @@ warning: `Foo` is both an enum and a function 1 | /// [`Foo`] | ^^^^^ ambiguous link | - = note: `#[warn(intra_doc_link_resolution_failure)]` on by default + = note: `#[warn(broken_intra_doc_links)]` on by default help: to link to the enum, prefix with the item type | 1 | /// [`enum@Foo`]