mirror of
https://github.com/rust-lang/rust
synced 2024-10-18 14:33:50 +00:00
ignore a doctest for the non-exported macro
This commit is contained in:
parent
6d8b56972c
commit
3d12fd0faf
|
@ -190,7 +190,7 @@ extern "rust-call" fn call_once(self, ($( $arg, )*): ($( $ArgTy, )*)) -> $Return
|
|||
///
|
||||
/// # Example
|
||||
///
|
||||
/// ```
|
||||
/// ```ignore(cannot-test-this-because-non-exported-macro)
|
||||
/// cfg_if! {
|
||||
/// if #[cfg(unix)] {
|
||||
/// fn foo() { /* unix specific functionality */ }
|
||||
|
|
Loading…
Reference in a new issue