Skip to content

Commit 5ccea51

Browse files
committed
Auto merge of #11351 - hi-rustin:rustin-patch-alias-docs, r=weihanglo
Add `rm` alias to configuration docs ### What does this PR try to resolve? close #11348 Add `rm` alias to configuration docs. r? `@weihanglo`
2 parents 3115dd6 + 381f9c8 commit 5ccea51

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/doc/src/reference/config.md

+3-2
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,7 @@ precedence rules as other options specified directly with `--config`.
240240
### Config-relative paths
241241

242242
Paths in config files may be absolute, relative, or a bare name without any path separators.
243-
Paths for executables without a path separator will use the `PATH` environment variable to search for the executable.
243+
Paths for executables without a path separator will use the `PATH` environment variable to search for the executable.
244244
Paths for non-executables will be relative to where the config value is defined.
245245

246246
In particular, rules are:
@@ -258,7 +258,7 @@ In particular, rules are:
258258
>
259259
> To avoid unexpected results, the rule of thumb is putting your extra config files
260260
> at the same level of discovered `.cargo/config.toml` in your porject.
261-
> For instance, given a project `/my/project`,
261+
> For instance, given a project `/my/project`,
262262
> it is recommended to put config files under `/my/project/.cargo`
263263
> or a new directory at the same level, such as `/my/project/.config`.
264264
@@ -348,6 +348,7 @@ c = "check"
348348
d = "doc"
349349
t = "test"
350350
r = "run"
351+
rm = "remove"
351352
```
352353

353354
Aliases are not allowed to redefine existing built-in commands.

0 commit comments

Comments
 (0)