Skip to content

Commit b960e24

Browse files
committed
Fix rustdoc macro inlining issues
Missing `#[doc(no_inline)]` for ambiguous_macro_only_std resulted in new and broken doc html files.
1 parent fc61375 commit b960e24

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

library/core/src/prelude/v1.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,7 @@ mod ambiguous_macro_only {
7575
pub use crate::*;
7676
}
7777
#[stable(feature = "builtin_macro_prelude", since = "1.38.0")]
78+
#[doc(no_inline)]
7879
pub use self::ambiguous_macro_only::{env, panic};
7980

8081
#[unstable(feature = "cfg_select", issue = "115585")]

library/std/src/prelude/v1.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@ mod ambiguous_macro_only_std {
7070
pub use crate::*;
7171
}
7272
#[stable(feature = "builtin_macro_prelude", since = "1.38.0")]
73+
#[doc(no_inline)]
7374
pub use self::ambiguous_macro_only_std::{vec, panic};
7475

7576
#[unstable(feature = "cfg_select", issue = "115585")]

0 commit comments

Comments
 (0)