about summary refs log tree commit diff
path: root/src/tools/rust-analyzer/docs/dev
diff options
context:
space:
mode:
authorDavid Kurilla <davidkurilla03@gmail.com>2024-10-15 12:49:51 -0700
committerDavid Kurilla <davidkurilla03@gmail.com>2024-10-18 14:58:43 -0700
commitbe7865e9043181debc8ae442d2bf3eae245e5b23 (patch)
tree2fcc2168ba04e037847e25787d24e00c5d7cf442 /src/tools/rust-analyzer/docs/dev
parent2dfbcb6a46ce74a78395350b407498db850cb0e9 (diff)
downloadrust-be7865e9043181debc8ae442d2bf3eae245e5b23.tar.gz
rust-be7865e9043181debc8ae442d2bf3eae245e5b23.zip
style: fix typos
Diffstat (limited to 'src/tools/rust-analyzer/docs/dev')
-rw-r--r--src/tools/rust-analyzer/docs/dev/setup.md6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/tools/rust-analyzer/docs/dev/setup.md b/src/tools/rust-analyzer/docs/dev/setup.md
index ac8117e0f32..62b8bd9a44c 100644
--- a/src/tools/rust-analyzer/docs/dev/setup.md
+++ b/src/tools/rust-analyzer/docs/dev/setup.md
@@ -34,20 +34,20 @@ Installing <path-to-rust-analyzer-binary>
 Installed package `rust-analyzer v0.0.0 (<path-to-rust-analyzer-binary>)` (executable `rust-analyzer.exe`)
 ```
 
-In Visual Studio Code Insiders, you will want to open your User Settings (JSON) from the Command Palette. From there you should ensure that the `rust-anaylzer.server.path` key is set to the `<path-to-rust-analyzer-binary>`. This will tell Visual Studio Code Insiders to use the locally installed version that you can debug.
+In Visual Studio Code Insiders, you will want to open your User Settings (JSON) from the Command Palette. From there you should ensure that the `rust-analyzer.server.path` key is set to the `<path-to-rust-analyzer-binary>`. This will tell Visual Studio Code Insiders to use the locally installed version that you can debug.
 
 The User Settings (JSON) file should contain the following:
 
 ```json
 {
-    "rust-analyzer.server.path": "<path-to-rust-anaylzer-binary>"
+    "rust-analyzer.server.path": "<path-to-rust-analyzer-binary>"
 }
 ```
 
 Now you should be able to make changes to rust-analyzer in Visual Studio Code and then view the changes in Visual Studio Code Insiders.
 
 ## Debugging rust-analyzer
-The simplist way to debug rust-analyzer is to use the `eprintln!` macro. The reason why we use `eprintln!` instead of `println!` is because the language server uses `stdout` to send messages. So instead we will debug using `stderr`.
+The simplest way to debug rust-analyzer is to use the `eprintln!` macro. The reason why we use `eprintln!` instead of `println!` is because the language server uses `stdout` to send messages. So instead we will debug using `stderr`.
 
 An example debugging statement could go into the `main_loop.rs` file which can be found at `crates/rust-analyzer/src/main_loop.rs`. Inside the `main_loop` we will add the following `eprintln!` to test debugging rust-analyzer: