Skip to content

Commit

Permalink
Update the doc tests on the README.md by replacing Skeptic with
Browse files Browse the repository at this point in the history
a regular `cargo test` command
  • Loading branch information
tatsuya6502 committed Feb 10, 2024
1 parent c1fc182 commit 6fb0e82
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,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 6fb0e82

Please sign in to comment.