Skip to content

Commit f94c15c

Browse files
committed
Fix typo in sanitizer flag in unstable book.
1 parent 446d453 commit f94c15c

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
@@ -286,8 +286,8 @@ achieve that will result in false positive reports.
286286
287287
Detecting the use of uninitialized memory. The `-Zbuild-std` flag rebuilds and
288288
instruments the standard library, and is strictly necessary for the correct
289-
operation of the tool. The `-Zsanitizer-track-origins` enables tracking of the
290-
origins of uninitialized memory:
289+
operation of the tool. The `-Zsanitizer-memory-track-origins` enables tracking
290+
of the origins of uninitialized memory:
291291
292292
```rust
293293
use std::mem::MaybeUninit;

0 commit comments

Comments
 (0)