Skip to content

Commit

Permalink
Merge pull request #401 from moka-rs/fix-ci/2024-02-10/v012-part2
Browse files Browse the repository at this point in the history
Fix the `cfg` conditions for the doc tests on the `README.md`
  • Loading branch information
tatsuya6502 authored Feb 11, 2024
2 parents d50bebd + 8980e0a commit ae33f8d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
File renamed without changes.
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ mod tests {
}
}

#[cfg(all(doctest, sync))]
#[cfg(all(doctest, feature = "sync"))]
mod doctests {
// https://doc.rust-lang.org/rustdoc/write-documentation/documentation-tests.html#include-items-only-when-collecting-doctests
#[doc = include_str!("../README.md")]
Expand Down

0 comments on commit ae33f8d

Please sign in to comment.