diff options
| author | Trevor Gross <tmgross@umich.edu> | 2023-03-10 13:23:46 -0500 |
|---|---|---|
| committer | Trevor Gross <tmgross@umich.edu> | 2023-03-22 01:11:39 -0400 |
| commit | df034b06b72f97a39844ce84a648e4de7fa2c58d (patch) | |
| tree | 3b106ecb5045e691447f94152c02a14c3696034b | |
| parent | 6dc3999c2699461aa930b8c1e00f99e73dcc0174 (diff) | |
| download | rust-df034b06b72f97a39844ce84a648e4de7fa2c58d.tar.gz rust-df034b06b72f97a39844ce84a648e4de7fa2c58d.zip | |
Change text -> rust,ignore highlighting in sanitizer.md
Marked ignore due to difficulty getting doctests to pass cross-platform
| -rw-r--r-- | src/doc/unstable-book/src/compiler-flags/sanitizer.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/doc/unstable-book/src/compiler-flags/sanitizer.md b/src/doc/unstable-book/src/compiler-flags/sanitizer.md index 262cef3454a..f71aceff455 100644 --- a/src/doc/unstable-book/src/compiler-flags/sanitizer.md +++ b/src/doc/unstable-book/src/compiler-flags/sanitizer.md @@ -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; @@ -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) |
