Skip to content

Commit 629c135

Browse files
Aaron1011mark-i-m
authored andcommitted
Add missing hash marks
Fixes #550 I can no longer reproduce the issue
1 parent 97dfbc9 commit 629c135

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/panic-implementation.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,9 @@ Actually resolving this goes through several layers of indirection:
3636

3737
```rust
3838
/// Entry point of panic from the libcore crate.
39-
[cfg(not(test))]
40-
[panic_handler]
41-
[unwind(allowed)]
39+
#[cfg(not(test))]
40+
#[panic_handler]
41+
#[unwind(allowed)]
4242
pub fn begin_panic_handler(info: &PanicInfo<'_>) -> ! {
4343
...
4444
}

0 commit comments

Comments
 (0)