Skip to content

Commit

Permalink
Change text -> rust,ignore highlighting in sanitizer.md
Browse files Browse the repository at this point in the history
Marked ignore due to difficulty getting doctests to pass cross-platform
  • Loading branch information
tgross35 committed Mar 22, 2023
1 parent 6dc3999 commit df034b0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/doc/unstable-book/src/compiler-flags/sanitizer.md
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ See the [Clang ControlFlowIntegrity documentation][clang-cfi] for more details.
## Example
```text
```rust,ignore
#![feature(naked_functions)]
use std::arch::asm;
Expand All @@ -238,7 +238,7 @@ pub extern "C" fn add_two(x: i32) {
nop
nop
nop
lea rax, [rdi+2]
lea eax, [edi+2]
ret
",
options(noreturn)
Expand Down

0 comments on commit df034b0

Please sign in to comment.