diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2024-01-22 16:13:30 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-01-22 16:13:30 +0100 |
| commit | 44e44f49d6acd8f9cf013f775fad88ea6788816b (patch) | |
| tree | a61eb57277652fd10b5449f0c513dcfdba2cb29f | |
| parent | ba542c823d319eca5e8a4fc274aa4df3e392e014 (diff) | |
| parent | 7ce206d185a429314a4577858f866008858db66e (diff) | |
| download | rust-44e44f49d6acd8f9cf013f775fad88ea6788816b.tar.gz rust-44e44f49d6acd8f9cf013f775fad88ea6788816b.zip | |
Rollup merge of #120225 - micolous:patch-1, r=michaelwoerister
Fix -Zremap-path-scope typo This fixes a documentation typo from #115214 where `-Zremap-path-prefix=object` should be `-Zremap-path-scope=object`. ```@rustbot``` label: +F-trim-paths
| -rw-r--r-- | src/doc/unstable-book/src/compiler-flags/remap-path-scope.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/doc/unstable-book/src/compiler-flags/remap-path-scope.md b/src/doc/unstable-book/src/compiler-flags/remap-path-scope.md index 13349ff6b8f..424f1128e3b 100644 --- a/src/doc/unstable-book/src/compiler-flags/remap-path-scope.md +++ b/src/doc/unstable-book/src/compiler-flags/remap-path-scope.md @@ -20,5 +20,5 @@ This flag accepts a comma-separated list of values and may be specified multiple ```sh # This would produce an absolute path to main.rs in build outputs of # "./main.rs". -rustc --remap-path-prefix=$(PWD)=/remapped -Zremap-path-prefix=object main.rs +rustc --remap-path-prefix=$(PWD)=/remapped -Zremap-path-scope=object main.rs ``` |
