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

Fix typos “a”→“an” #1746

Merged
merged 2 commits into from
Aug 24, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion rls-ipc/src/rpc.rs
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ pub mod file_loader {
#[rpc(name = "file_exists")]
fn file_exists(&self, path: PathBuf) -> Result<bool>;

/// 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<String>;
}
Expand Down
2 changes: 1 addition & 1 deletion rls/src/lsp_data.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down