about summary refs log tree commit diff
path: root/editors/code
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2022-08-17 14:59:02 +0000
committerbors <bors@rust-lang.org>2022-08-17 14:59:02 +0000
commit82ff740501e1da239a6c9ff94dddf7ae1ca9aeb6 (patch)
tree269b92c3e279d12f859f32091222fe498e15c904 /editors/code
parentd6412b58666ee399bdc56a868a79ed322d6a3fcd (diff)
parent23747419ca52414d3ecf6f69f1e530e47ab1e937 (diff)
downloadrust-82ff740501e1da239a6c9ff94dddf7ae1ca9aeb6.tar.gz
rust-82ff740501e1da239a6c9ff94dddf7ae1ca9aeb6.zip
Auto merge of #13044 - dzvon:fix-typo, r=Veykril
fix: a bunch of typos

This PR will fix some typos detected by [typos].

There are also some other typos in the function names, variable names, and file
names, which I leave as they are. I'm more certain that typos in comments
should be fixed.

[typos]: https://github.com/crate-ci/typos
Diffstat (limited to 'editors/code')
-rw-r--r--editors/code/src/commands.ts2
-rw-r--r--editors/code/src/toolchain.ts2
2 files changed, 2 insertions, 2 deletions
diff --git a/editors/code/src/commands.ts b/editors/code/src/commands.ts
index f58de9da1bf..12f666401fd 100644
--- a/editors/code/src/commands.ts
+++ b/editors/code/src/commands.ts
@@ -655,7 +655,7 @@ function crateGraph(ctx: Ctx, full: boolean): Cmd {
                     html, body { margin:0; padding:0; overflow:hidden }
                     svg { position:fixed; top:0; left:0; height:100%; width:100% }
 
-                    /* Disable the graphviz backgroud and fill the polygons */
+                    /* Disable the graphviz background and fill the polygons */
                     .graph > polygon { display:none; }
                     :is(.node,.edge) polygon { fill: white; }
 
diff --git a/editors/code/src/toolchain.ts b/editors/code/src/toolchain.ts
index bac163da9f3..e1ca4954280 100644
--- a/editors/code/src/toolchain.ts
+++ b/editors/code/src/toolchain.ts
@@ -158,7 +158,7 @@ export const getPathForExecutable = memoizeAsync(
 
         try {
             // hmm, `os.homedir()` seems to be infallible
-            // it is not mentioned in docs and cannot be infered by the type signature...
+            // it is not mentioned in docs and cannot be inferred by the type signature...
             const standardPath = vscode.Uri.joinPath(
                 vscode.Uri.file(os.homedir()),
                 ".cargo",