doc/rustdoc: Fix incorrect external_doc feature flag

This commit is contained in:
Sean Wilson 2020-06-06 17:20:06 -07:00
parent 9c1857fad8
commit 2650c5fc6c

View File

@ -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: `lib.rs` to test your README as part of your doctests:
```rust,ignore ```rust,ignore
#![feature(extern_doc)] #![feature(external_doc)]
#[doc(include="../README.md")] #[doc(include="../README.md")]
#[cfg(doctest)] #[cfg(doctest)]