We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a140b54 commit f98eea5Copy full SHA for f98eea5
src/lib.rs
@@ -622,7 +622,7 @@ compile_error!("`std` feature is currently required to build this crate");
622
623
#[cfg(feature = "perf-literal")]
624
extern crate aho_corasick;
625
-#[cfg(test)]
+#[cfg(doctest)]
626
extern crate doc_comment;
627
628
extern crate memchr;
@@ -633,7 +633,7 @@ extern crate regex_syntax as syntax;
633
#[cfg(feature = "perf-cache")]
634
extern crate thread_local;
635
636
637
doc_comment::doctest!("../README.md");
638
639
#[cfg(feature = "std")]
0 commit comments