diff options
| author | Guillaume Gomez <guillaume1.gomez@gmail.com> | 2019-10-01 15:25:03 +0200 |
|---|---|---|
| committer | Guillaume Gomez <guillaume1.gomez@gmail.com> | 2019-10-29 13:42:55 +0100 |
| commit | 1595fdee1f9bff2901bcd3cd3fd7a22ea64cac24 (patch) | |
| tree | e45c0d55c2eb536162f88ba6464c7a81f797968d /src/doc | |
| parent | 3e3d919dabf1fc63642a41542eb68061ebfa894c (diff) | |
| download | rust-1595fdee1f9bff2901bcd3cd3fd7a22ea64cac24.tar.gz rust-1595fdee1f9bff2901bcd3cd3fd7a22ea64cac24.zip | |
Update since version for doctest feature
Diffstat (limited to 'src/doc')
| -rw-r--r-- | src/doc/rustdoc/src/documentation-tests.md | 2 |
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 45fbb4fbfc6..bc1da5ff15a 100644 --- a/src/doc/rustdoc/src/documentation-tests.md +++ b/src/doc/rustdoc/src/documentation-tests.md @@ -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")] |
