about summary refs log tree commit diff
diff options
context:
space:
mode:
authorDylan DPC <dylan.dpc@gmail.com>2020-06-11 13:15:58 +0200
committerGitHub <noreply@github.com>2020-06-11 13:15:58 +0200
commit12e5a69fee94501f2ae33583b6600394401d23f1 (patch)
tree82f5e8c3b609a11ff96acb19ebd98912df5fa455
parentf4661e27073ea39af98bb9e4cfe101563b868bf2 (diff)
parent2650c5fc6c8aac7f802b05490d0755cfda7f85cc (diff)
downloadrust-12e5a69fee94501f2ae33583b6600394401d23f1.tar.gz
rust-12e5a69fee94501f2ae33583b6600394401d23f1.zip
Rollup merge of #73080 - ertos-rs:sean.wilson/devel/external_doc-ref-fix, r=ollie27
doc/rustdoc: Fix incorrect external_doc feature flag
-rw-r--r--src/doc/rustdoc/src/documentation-tests.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/doc/rustdoc/src/documentation-tests.md b/src/doc/rustdoc/src/documentation-tests.md
index efadae1c5fb..18010bebcf0 100644
--- a/src/doc/rustdoc/src/documentation-tests.md
+++ b/src/doc/rustdoc/src/documentation-tests.md
@@ -416,7 +416,7 @@ without including it in your main documentation. For example, you could write th
 `lib.rs` to test your README as part of your doctests:
 
 ```rust,ignore
-#![feature(extern_doc)]
+#![feature(external_doc)]
 
 #[doc(include="../README.md")]
 #[cfg(doctest)]