Skip to content
This repository was archived by the owner on Dec 29, 2022. It is now read-only.

Commit bbb8da2

Browse files
authored
Merge pull request #1746 from steffahn/a_an
Fix typos “a”→“an”
2 parents 838a834 + a07f1ce commit bbb8da2

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

rls-ipc/src/rpc.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ pub mod file_loader {
2424
#[rpc(name = "file_exists")]
2525
fn file_exists(&self, path: PathBuf) -> Result<bool>;
2626

27-
/// Read the contents of an UTF-8 file into memory.
27+
/// Read the contents of a UTF-8 file into memory.
2828
#[rpc(name = "read_file")]
2929
fn read_file(&self, path: PathBuf) -> Result<String>;
3030
}

rls/src/lsp_data.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -269,7 +269,7 @@ pub struct InitializationOptions {
269269
}
270270

271271
impl InitializationOptions {
272-
/// try to deserialize a Initialization from a json value. If exists,
272+
/// try to deserialize an Initialization from a json value. If exists,
273273
/// val.settings is expected to be a Value::Object containing only one key,
274274
/// "rust", all first level keys of rust's value are converted to
275275
/// snake_case, duplicated and unknown keys are reported

0 commit comments

Comments
 (0)