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; } 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