Skip to content

Commit

Permalink
ignore a doctest for the non-exported macro
Browse files Browse the repository at this point in the history
  • Loading branch information
m-ysk committed May 3, 2022
1 parent 6d8b569 commit 3d12fd0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion library/core/src/internal_macros.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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 */ }
Expand Down

0 comments on commit 3d12fd0

Please sign in to comment.