Skip to content

Commit 0688580

Browse files
cbeuwjoshtriplett
andauthored
Typo fixes
Co-authored-by: Josh Triplett <[email protected]>
1 parent d33e029 commit 0688580

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

text/3127-trim-paths.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ If `trim-paths` is `1` or `2` (`true`), then two `--remap-path-prefix` arguments
145145

146146
A further `--remap-path-scope` is also supplied for options `1` and `2`:
147147

148-
If `trim-path` is `1`, then it depends on the setting of `split-debuginfo` (whether the setting is explicitly supplied or from the default)
148+
If `trim-paths` is `1`, then it depends on the setting of `split-debuginfo` (whether the setting is explicitly supplied or from the default)
149149
- If `split-debuginfo` is `off`, then `--remap-path-scope=macro,debuginfo`.
150150
- If `split-debuginfo` is `packed` or `unpacked`, then `--remap-path-scope=macro,split-debuginfo-file`
151151

@@ -249,7 +249,7 @@ they are retained panic messages. This syntax can be used with either a brand ne
249249
existing `--remap-path-prefix` option to take in this new syntax.
250250

251251
If we were to extend the existing `--remap-path-prefix`, there may be an ambiguity to whether `:` means a separator between scope list and mapping,
252-
or is it a part of the path; if the first `:` supplied belongs to the path then it would have to be escaped. This coudl be technically breaking.
252+
or is it a part of the path; if the first `:` supplied belongs to the path then it would have to be escaped. This could be technically breaking.
253253

254254
In any case, future inclusion of this new syntax will not affect `--remap-path-scope` introduced in this RFC. Scopes specified in `--remap-path-scope`
255255
will be used as default for all mappings, and explicit scopes for an individual mapping will take precedence on that mapping.

0 commit comments

Comments
 (0)