Skip to content

Commit 3d12fd0

Browse files
committed
ignore a doctest for the non-exported macro
1 parent 6d8b569 commit 3d12fd0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/core/src/internal_macros.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ macro_rules! impl_fn_for_zst {
190190
///
191191
/// # Example
192192
///
193-
/// ```
193+
/// ```ignore(cannot-test-this-because-non-exported-macro)
194194
/// cfg_if! {
195195
/// if #[cfg(unix)] {
196196
/// fn foo() { /* unix specific functionality */ }

0 commit comments

Comments
 (0)