Use #[doc = include_str!()] in std
This commit is contained in:
parent
446d4533e8
commit
a6eb836ff0
4 changed files with 3 additions and 4 deletions
|
@ -4,7 +4,7 @@
|
|||
//! library. Each macro is available for use when linking against the standard
|
||||
//! library.
|
||||
|
||||
#[doc(include = "../../core/src/macros/panic.md")]
|
||||
#[doc = include_str!("../../core/src/macros/panic.md")]
|
||||
#[macro_export]
|
||||
#[rustc_builtin_macro = "std_panic"]
|
||||
#[stable(feature = "rust1", since = "1.0.0")]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue