Skip to content

Commit afa7de6

Browse files
Merge pull request #133 from GuillaumeGomez/patch-1
Replace "cfg(test)" with "cfg(doctest)" for readme testing
2 parents 0dc82f9 + 93fe059 commit afa7de6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,11 +76,11 @@ extern crate alloc;
7676
#[cfg(any(feature = "std", test))]
7777
extern crate std as alloc;
7878

79-
#[cfg(test)]
79+
#[cfg(doctest)]
8080
#[macro_use]
8181
extern crate doc_comment;
8282

83-
#[cfg(test)]
83+
#[cfg(doctest)]
8484
doctest!("../README.md");
8585

8686
mod chunked_encoder;

0 commit comments

Comments
 (0)