Update since version for doctest feature
This commit is contained in:
parent
3e3d919dab
commit
1595fdee1f
@ -415,7 +415,7 @@ Another possible use of `cfg(doctest)` is to test doctests that are included in
|
||||
without including it in your main documentation. For example, you could write this into your
|
||||
`lib.rs` to test your README as part of your doctests:
|
||||
|
||||
```rust,no_run (includes-extra-file)
|
||||
```rust,ignore
|
||||
#![feature(extern_doc)]
|
||||
|
||||
#[doc(include="../README.md")]
|
||||
|
Loading…
x
Reference in New Issue
Block a user