Skip to content

Commit df034b0

Browse files
committed
Change text -> rust,ignore highlighting in sanitizer.md
Marked ignore due to difficulty getting doctests to pass cross-platform
1 parent 6dc3999 commit df034b0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/doc/unstable-book/src/compiler-flags/sanitizer.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@ See the [Clang ControlFlowIntegrity documentation][clang-cfi] for more details.
213213
214214
## Example
215215
216-
```text
216+
```rust,ignore
217217
#![feature(naked_functions)]
218218
219219
use std::arch::asm;
@@ -238,7 +238,7 @@ pub extern "C" fn add_two(x: i32) {
238238
nop
239239
nop
240240
nop
241-
lea rax, [rdi+2]
241+
lea eax, [edi+2]
242242
ret
243243
",
244244
options(noreturn)

0 commit comments

Comments
 (0)