From 45500840071d75c90fce0d6791193211951cf0a9 Mon Sep 17 00:00:00 2001 From: Aaron Hill Date: Thu, 2 Jan 2020 22:58:39 -0500 Subject: Add missing hash marks Fixes #550 I can no longer reproduce the issue --- src/doc/rustc-dev-guide/src/panic-implementation.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/doc/rustc-dev-guide') diff --git a/src/doc/rustc-dev-guide/src/panic-implementation.md b/src/doc/rustc-dev-guide/src/panic-implementation.md index 4cb4ebb6fe9..497c81fd0b3 100644 --- a/src/doc/rustc-dev-guide/src/panic-implementation.md +++ b/src/doc/rustc-dev-guide/src/panic-implementation.md @@ -36,9 +36,9 @@ Actually resolving this goes through several layers of indirection: ```rust /// Entry point of panic from the libcore crate. -[cfg(not(test))] -[panic_handler] -[unwind(allowed)] +#[cfg(not(test))] +#[panic_handler] +#[unwind(allowed)] pub fn begin_panic_handler(info: &PanicInfo<'_>) -> ! { ... } -- cgit 1.4.1-3-g733a5