Skip to content

Commit 46b5483

Browse files
committed
Auto merge of rust-lang#12313 - equinox:typo-fix, r=lnicola
Removed duplicate 'to' in `cachePriming.numThreads` option description One 'to' too many!
2 parents 57861bd + 7197042 commit 46b5483

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
@@ -59,7 +59,7 @@ config_data! {
5959

6060
/// Warm up caches on project load.
6161
cachePriming_enable: bool = "true",
62-
/// How many worker threads to to handle priming caches. The default `0` means to pick automatically.
62+
/// How many worker threads to handle priming caches. The default `0` means to pick automatically.
6363
cachePriming_numThreads: ParallelCachePrimingNumThreads = "0",
6464

6565
/// Automatically refresh project info via `cargo metadata` on

docs/user/generated_config.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ Warm up caches on project load.
1111
[[rust-analyzer.cachePriming.numThreads]]rust-analyzer.cachePriming.numThreads (default: `0`)::
1212
+
1313
--
14-
How many worker threads to to handle priming caches. The default `0` means to pick automatically.
14+
How many worker threads to handle priming caches. The default `0` means to pick automatically.
1515
--
1616
[[rust-analyzer.cargo.autoreload]]rust-analyzer.cargo.autoreload (default: `true`)::
1717
+

editors/code/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -388,7 +388,7 @@
388388
"type": "boolean"
389389
},
390390
"rust-analyzer.cachePriming.numThreads": {
391-
"markdownDescription": "How many worker threads to to handle priming caches. The default `0` means to pick automatically.",
391+
"markdownDescription": "How many worker threads to handle priming caches. The default `0` means to pick automatically.",
392392
"default": 0,
393393
"type": "number",
394394
"minimum": 0,

0 commit comments

Comments
 (0)