Skip to content

Commit ef3a260

Browse files
Merge #10329
10329: Fix link to "Auto Import" r=lnicola a=carlos-menezes rust-analyzer/rust-analyzer.github.io#147 (comment) Co-authored-by: Carlos Menezes <[email protected]>
2 parents e6b64fd + 8ad484b commit ef3a260

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

crates/rust-analyzer/src/config.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ config_data! {
5353
assist_importEnforceGranularity: bool = "false",
5454
/// The path structure for newly inserted paths to use.
5555
assist_importPrefix: ImportPrefixDef = "\"plain\"",
56-
/// Group inserted imports by the [following order](https://rust-analyzer.github.io/manual.html#auto-import). Groups are separated by newlines.
56+
/// Group inserted imports by the https://rust-analyzer.github.io/manual.html#auto-import[following order]. Groups are separated by newlines.
5757
assist_importGroup: bool = "true",
5858
/// Whether to allow import insertion to merge new imports into single path glob imports like `use std::fmt::*;`.
5959
assist_allowMergingIntoGlobImports: bool = "true",

docs/user/generated_config.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ The path structure for newly inserted paths to use.
1616
[[rust-analyzer.assist.importGroup]]rust-analyzer.assist.importGroup (default: `true`)::
1717
+
1818
--
19-
Group inserted imports by the [following order](https://rust-analyzer.github.io/manual.html#auto-import). Groups are separated by newlines.
19+
Group inserted imports by the https://rust-analyzer.github.io/manual.html#auto-import[following order]. Groups are separated by newlines.
2020
--
2121
[[rust-analyzer.assist.allowMergingIntoGlobImports]]rust-analyzer.assist.allowMergingIntoGlobImports (default: `true`)::
2222
+

editors/code/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -435,7 +435,7 @@
435435
]
436436
},
437437
"rust-analyzer.assist.importGroup": {
438-
"markdownDescription": "Group inserted imports by the [following order](https://rust-analyzer.github.io/manual.html#auto-import). Groups are separated by newlines.",
438+
"markdownDescription": "Group inserted imports by the https://rust-analyzer.github.io/manual.html#auto-import[following order]. Groups are separated by newlines.",
439439
"default": true,
440440
"type": "boolean"
441441
},

0 commit comments

Comments
 (0)