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
///
/// ```
/// ```ignore(cannot-test-this-because-non-exported-macro)
/// cfg_if! {
/// if #[cfg(unix)] {
/// fn foo() { /* unix specific functionality */ }