1
Fork 0

ignore a doctest for the non-exported macro

This commit is contained in:
Yoshiki Matsuda 2022-05-03 18:33:56 +09:00
parent 6d8b56972c
commit 3d12fd0faf

View file

@ -190,7 +190,7 @@ macro_rules! impl_fn_for_zst {
/// ///
/// # Example /// # Example
/// ///
/// ``` /// ```ignore(cannot-test-this-because-non-exported-macro)
/// cfg_if! { /// cfg_if! {
/// if #[cfg(unix)] { /// if #[cfg(unix)] {
/// fn foo() { /* unix specific functionality */ } /// fn foo() { /* unix specific functionality */ }