Rollup merge of #73080 - ertos-rs:sean.wilson/devel/external_doc-ref-fix, r=ollie27
doc/rustdoc: Fix incorrect external_doc feature flag
This commit is contained in:
commit
12e5a69fee
@ -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)]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user