Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Auto merge of #10935 - har7an:patch-1, r=epage
Mention that aliases are recursive Instead of duplicating portions of commands that are used identically across many aliases, the user can instead reuse any previously defined aliases. ### What does this PR try to resolve? Today I started working with [`xtask`](https://github.com/matklad/cargo-xtask/), which is a build system based on a simple cargo alias: ```toml [alias] xtask = "run --package xtask --" ``` Since the word "xtask" is rather difficult to type in my opinion (at least my left hand struggles quite a bit) I wanted to add another alias, `x` as a shorthand (similar to what `build`, `run`, etc. have by default). Thereby I discovered that I needn't replicate the whole alias, because aliases are recursive. I consulted the docs and couldn't find a mention of this, hence I'm adding it as part of this PR so other users can discover it. ### How should we test and review this PR? I don't think this requires a separate test, it's a minor change to the documentation only. ### Additional information
- Loading branch information