Skip to content

Commit 59d9cbf

Browse files
authored
Rollup merge of rust-lang#108997 - tgross35:patch-1, r=JohnTitor
Change text -> rust highlighting in sanitizer.md Not sure why this has syntax highlighting turned off, but it doesn't need to be Relevant page: https://doc.rust-lang.org/beta/unstable-book/compiler-flags/sanitizer.html
2 parents d694f47 + df034b0 commit 59d9cbf

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)