about summary refs log tree commit diff
diff options
context:
space:
mode:
authorCorey Farwell <coreyf@rwell.org>2021-02-23 09:10:11 -0500
committerCorey Farwell <coreyf@rwell.org>2021-02-23 09:10:11 -0500
commitf94c15c5a340538d40bbc12c850ae002a4c77ddb (patch)
treee99facb2a426989f5205d619bdb64c944f0eafd8
parent446d4533e89db04f9568be4199e56b5fce0d176d (diff)
downloadrust-f94c15c5a340538d40bbc12c850ae002a4c77ddb.tar.gz
rust-f94c15c5a340538d40bbc12c850ae002a4c77ddb.zip
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;