diff options
| author | bors <bors@rust-lang.org> | 2024-01-02 09:57:48 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2024-01-02 09:57:48 +0000 |
| commit | 9f46ff501d88da04e8d8c9b5f4169ccde0e76c21 (patch) | |
| tree | 26c40d1aabd5f58ecc667cd0a98acafd057e1897 /docs | |
| parent | f1de7d727360c8b68f1e68966c1b204b6601397a (diff) | |
| parent | f556c79db8a99adc880fdae46ee5d9dcebf1e2db (diff) | |
| download | rust-9f46ff501d88da04e8d8c9b5f4169ccde0e76c21.tar.gz rust-9f46ff501d88da04e8d8c9b5f4169ccde0e76c21.zip | |
Auto merge of #16062 - davidbarsky:david/fix-references-to-removed-settings, r=Veykril
fix: Correct references from `rust-analyzer.cargo.check` to `rust-analyzer.check` When reading the manual, I noticed that the documentation referenced configurations that have since been renamed. This PR updates those references to their new names.
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/user/generated_config.adoc | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/docs/user/generated_config.adoc b/docs/user/generated_config.adoc index 93663c52061..c3f249e0ce2 100644 --- a/docs/user/generated_config.adoc +++ b/docs/user/generated_config.adoc @@ -185,9 +185,9 @@ For example for `cargo check`: `dead_code`, `unused_imports`, `unused_variables` -- Specifies the working directory for running checks. - "workspace": run checks for workspaces in the corresponding workspaces' root directories. - This falls back to "root" if `#rust-analyzer.cargo.check.invocationStrategy#` is set to `once`. + This falls back to "root" if `#rust-analyzer.check.invocationStrategy#` is set to `once`. - "root": run checks in the project's root directory. -This config only has an effect when `#rust-analyzer.cargo.check.overrideCommand#` +This config only has an effect when `#rust-analyzer.check.overrideCommand#` is set. -- [[rust-analyzer.check.invocationStrategy]]rust-analyzer.check.invocationStrategy (default: `"per_workspace"`):: @@ -196,7 +196,7 @@ is set. Specifies the invocation strategy to use when running the check command. If `per_workspace` is set, the command will be executed for each workspace. If `once` is set, the command will be executed once. -This config only has an effect when `#rust-analyzer.cargo.check.overrideCommand#` +This config only has an effect when `#rust-analyzer.check.overrideCommand#` is set. -- [[rust-analyzer.check.noDefaultFeatures]]rust-analyzer.check.noDefaultFeatures (default: `null`):: @@ -221,8 +221,8 @@ Cargo, you might also want to change If there are multiple linked projects/workspaces, this command is invoked for each of them, with the working directory being the workspace root (i.e., the folder containing the `Cargo.toml`). This can be overwritten -by changing `#rust-analyzer.cargo.check.invocationStrategy#` and -`#rust-analyzer.cargo.check.invocationLocation#`. +by changing `#rust-analyzer.check.invocationStrategy#` and +`#rust-analyzer.check.invocationLocation#`. An example command would be: |
