Skip to content

Commit

Permalink
lint: add docs to item because of deny(missing_docs)
Browse files Browse the repository at this point in the history
While this macro is only defined in `cfg(test)`, under that condition,
it is technically exported I guess. So just add docs to it.
  • Loading branch information
BurntSushi committed Dec 31, 2024
1 parent a7dbafe commit 7461821
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/tests/memchr/prop.rs
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
/// Defines a host of quickcheck tests for the given memchr searcher.
#[cfg(miri)]
#[macro_export]
macro_rules! define_memchr_quickcheck {
($($tt:tt)*) => {};
}

/// Defines a host of quickcheck tests for the given memchr searcher.
#[cfg(not(miri))]
#[macro_export]
macro_rules! define_memchr_quickcheck {
Expand Down

0 comments on commit 7461821

Please sign in to comment.