diff --git a/crates/rust-analyzer/src/config.rs b/crates/rust-analyzer/src/config.rs index 304254c3e26..afa83e62060 100644 --- a/crates/rust-analyzer/src/config.rs +++ b/crates/rust-analyzer/src/config.rs @@ -59,7 +59,7 @@ config_data! { /// Warm up caches on project load. cachePriming_enable: bool = "true", - /// How many worker threads to to handle priming caches. The default `0` means to pick automatically. + /// How many worker threads to handle priming caches. The default `0` means to pick automatically. cachePriming_numThreads: ParallelCachePrimingNumThreads = "0", /// Automatically refresh project info via `cargo metadata` on diff --git a/docs/user/generated_config.adoc b/docs/user/generated_config.adoc index d8585ffb1de..30722af08c5 100644 --- a/docs/user/generated_config.adoc +++ b/docs/user/generated_config.adoc @@ -11,7 +11,7 @@ Warm up caches on project load. [[rust-analyzer.cachePriming.numThreads]]rust-analyzer.cachePriming.numThreads (default: `0`):: + -- -How many worker threads to to handle priming caches. The default `0` means to pick automatically. +How many worker threads to handle priming caches. The default `0` means to pick automatically. -- [[rust-analyzer.cargo.autoreload]]rust-analyzer.cargo.autoreload (default: `true`):: + diff --git a/editors/code/package.json b/editors/code/package.json index 02899b6d17b..e81dfff2786 100644 --- a/editors/code/package.json +++ b/editors/code/package.json @@ -388,7 +388,7 @@ "type": "boolean" }, "rust-analyzer.cachePriming.numThreads": { - "markdownDescription": "How many worker threads to to handle priming caches. The default `0` means to pick automatically.", + "markdownDescription": "How many worker threads to handle priming caches. The default `0` means to pick automatically.", "default": 0, "type": "number", "minimum": 0,