about summary refs log tree commit diff
diff options
context:
space:
mode:
authorAaron Hill <aa1ronham@gmail.com>2021-02-25 16:06:18 -0500
committerGitHub <noreply@github.com>2021-02-25 16:06:18 -0500
commit44f85c5de054aa3b8aa4f83f1ad1633e5c2768cb (patch)
tree2c63e2371bedca0a09d68eecb6937e4ea952384c
parent239e41df311e5fe29138c8e0ffd8d4326e4a6be0 (diff)
parentf94c15c5a340538d40bbc12c850ae002a4c77ddb (diff)
Rollup merge of #82441 - frewsxcv:frewsxcv-docs, r=GuillaumeGomez
Fix typo in sanitizer flag in unstable book.
-rw-r--r--src/doc/unstable-book/src/compiler-flags/sanitizer.md4
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 4f7a101d2ac..29a267053b4 100644
--- a/src/doc/unstable-book/src/compiler-flags/sanitizer.md
+++ b/src/doc/unstable-book/src/compiler-flags/sanitizer.md
@@ -286,8 +286,8 @@ achieve that will result in false positive reports.
 
 Detecting the use of uninitialized memory. The `-Zbuild-std` flag rebuilds and
 instruments the standard library, and is strictly necessary for the correct
-operation of the tool. The `-Zsanitizer-track-origins` enables tracking of the
-origins of uninitialized memory:
+operation of the tool. The `-Zsanitizer-memory-track-origins` enables tracking
+of the origins of uninitialized memory:
 
 ```rust
 use std::mem::MaybeUninit;