Skip to content

Commit bcdacc0

Browse files
committed
remove external_doc feature
1 parent 9ad335e commit bcdacc0

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/lib.rs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
#![cfg_attr(nightly, deny(rustdoc::broken_intra_doc_links))]
44
#![cfg_attr(nightly, feature(doc_cfg))]
55
#![doc(html_root_url = "https://docs.rs/twitch_api2/0.5.0")]
6-
#![cfg_attr(all(nightly, doctest), feature(external_doc))]
76
//! [![github]](https://github.com/emilgardis/twitch_api2) [![crates-io]](https://crates.io/crates/twitch_api2) [![docs-rs-big]](https://docs.rs/twitch_api2/0.5.0/twitch_api2)
87
//!
98
//! [github]: https://img.shields.io/badge/github-emilgardis/twitch__api2-8da0cb?style=for-the-badge&labelColor=555555&logo=github"
@@ -90,8 +89,8 @@
9089
//! | <span class="module-item stab portability" style="display: inline; border-radius: 3px; padding: 2px; font-size: 80%; line-height: 1.2;"><code>deny_unknown_fields</code></span> | Adds `#[serde(deny_unknown_fields)]` on all applicable structs/enums. Please consider using this and filing an issue or PR when a new field has been added to the endpoint but not added to this library. |
9190
//!
9291
93-
#[doc(include = "../README.md")]
94-
#[cfg(all(doctest, feature = "all"))]
92+
/// README doc tests
93+
#[cfg_attr(all(doctest, nightly, feature = "all"), doc = include_str!("../README.md"))]
9594
pub struct ReadmeDoctests;
9695

9796
pub mod types;

0 commit comments

Comments
 (0)