Skip to content

Commit 6620d02

Browse files
authored
Merge pull request #661 from Expyron/master
Fix README doctests
2 parents 962132f + a2c2f08 commit 6620d02

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

Cargo.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,6 @@ rand = { version = "0.9.0", features = ["small_rng"] }
4444
rayon = "1.2"
4545
fnv = "1.0.7"
4646
serde_test = "1.0"
47-
doc-comment = "0.3.1"
4847
bumpalo = { version = "3.13.0", features = ["allocator-api2"] }
4948

5049
[target.'cfg(unix)'.dev-dependencies]

src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,9 +59,9 @@ extern crate std;
5959
#[cfg_attr(feature = "rustc-dep-of-std", allow(unused_extern_crates))]
6060
extern crate alloc;
6161

62-
#[cfg(feature = "nightly")]
62+
#[doc = include_str!("../README.md")]
6363
#[cfg(doctest)]
64-
doc_comment::doctest!("../README.md");
64+
pub struct ReadmeDoctests;
6565

6666
#[macro_use]
6767
mod macros;

0 commit comments

Comments
 (0)