From bd008071c4836206ff1803902a41d03e9cdb2a9e Mon Sep 17 00:00:00 2001 From: Frank Steffahn Date: Sun, 22 Aug 2021 14:30:17 +0200 Subject: [PATCH 1/2] =?UTF-8?q?Fix=20typos=20=E2=80=9Ca=E2=80=9D=E2=86=92?= =?UTF-8?q?=E2=80=9Can=E2=80=9D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- rls/src/lsp_data.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rls/src/lsp_data.rs b/rls/src/lsp_data.rs index 488f03c0e7f..fca64c09a03 100644 --- a/rls/src/lsp_data.rs +++ b/rls/src/lsp_data.rs @@ -269,7 +269,7 @@ pub struct InitializationOptions { } impl InitializationOptions { - /// try to deserialize a Initialization from a json value. If exists, + /// try to deserialize an Initialization from a json value. If exists, /// val.settings is expected to be a Value::Object containing only one key, /// "rust", all first level keys of rust's value are converted to /// snake_case, duplicated and unknown keys are reported From a07f1ce995753886146134744c7164562d783059 Mon Sep 17 00:00:00 2001 From: Frank Steffahn Date: Sun, 22 Aug 2021 18:02:54 +0200 Subject: [PATCH 2/2] =?UTF-8?q?Fix=20a=20typo=20=E2=80=9Can=E2=80=9D?= =?UTF-8?q?=E2=86=92=E2=80=9Ca=E2=80=9D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- rls-ipc/src/rpc.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rls-ipc/src/rpc.rs b/rls-ipc/src/rpc.rs index 3130de974b4..f6aad9f99f7 100644 --- a/rls-ipc/src/rpc.rs +++ b/rls-ipc/src/rpc.rs @@ -24,7 +24,7 @@ pub mod file_loader { #[rpc(name = "file_exists")] fn file_exists(&self, path: PathBuf) -> Result; - /// Read the contents of an UTF-8 file into memory. + /// Read the contents of a UTF-8 file into memory. #[rpc(name = "read_file")] fn read_file(&self, path: PathBuf) -> Result; }