From 7197042ac4c9de936c79420a01653071db7fa8ce Mon Sep 17 00:00:00 2001 From: Equinox Date: Fri, 20 May 2022 02:04:02 +1200 Subject: [PATCH] remove duplicate 'to' in `cachePriming.numThreads` option description --- crates/rust-analyzer/src/config.rs | 2 +- docs/user/generated_config.adoc | 2 +- editors/code/package.json | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) 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 @@ struct ConfigData { /// 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,