Skip to content

Commit 72eed28

Browse files
committed
cfg_if doc-example should use the macro from libcore
1 parent f35f2df commit 72eed28

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/libcore/macros.rs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -647,9 +647,6 @@ macro_rules! uninitialized_array {
647647
/// # Example
648648
///
649649
/// ```
650-
/// #[macro_use]
651-
/// extern crate cfg_if;
652-
///
653650
/// cfg_if! {
654651
/// if #[cfg(unix)] {
655652
/// fn foo() { /* unix specific functionality */ }

0 commit comments

Comments
 (0)