1
Fork 0

Use #[doc = include_str!()] in std

This commit is contained in:
LeSeulArtichaut 2020-12-30 23:33:38 +01:00
parent 446d4533e8
commit a6eb836ff0
4 changed files with 3 additions and 4 deletions

View file

@ -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")]