mirror of
https://github.com/rust-lang/rust.git
synced 2025-05-14 02:49:40 +00:00
ignore a doctest for the non-exported macro
This commit is contained in:
parent
6d8b56972c
commit
3d12fd0faf
@ -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 */ }
|
||||
|
Loading…
Reference in New Issue
Block a user