about summary refs log tree commit diff
path: root/src/doc/rustc-dev-guide
diff options
context:
space:
mode:
authorAaron Hill <aa1ronham@gmail.com>2020-01-02 22:58:39 -0500
committerWho? Me?! <mark-i-m@users.noreply.github.com>2020-01-02 22:00:26 -0600
commit45500840071d75c90fce0d6791193211951cf0a9 (patch)
treeb4a3e2762f05c97ac873fe858f51ee1e4cd1d0ab /src/doc/rustc-dev-guide
parent15b76609ec915e1635466100b63eba94374f91e0 (diff)
downloadrust-45500840071d75c90fce0d6791193211951cf0a9.tar.gz
rust-45500840071d75c90fce0d6791193211951cf0a9.zip
Add missing hash marks
Fixes #550

I can no longer reproduce the issue
Diffstat (limited to 'src/doc/rustc-dev-guide')
-rw-r--r--src/doc/rustc-dev-guide/src/panic-implementation.md6
1 files changed, 3 insertions, 3 deletions
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<'_>) -> ! {
     ...
 }