about summary refs log tree commit diff
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2023-12-29 18:09:02 +0000
committerbors <bors@rust-lang.org>2023-12-29 18:09:02 +0000
commite1e4626ff5f6831c375256bd8d0a153ee104390e (patch)
tree373e9289d86667b1592ac54b0007c821895f29fa
parent3ab166637046ab254b11b13ff9108d86b6ed5703 (diff)
parent638df27f999434d5da28061d07063f4d17b3706b (diff)
downloadrust-e1e4626ff5f6831c375256bd8d0a153ee104390e.tar.gz
rust-e1e4626ff5f6831c375256bd8d0a153ee104390e.zip
Auto merge of #16206 - cuishuang:master, r=lnicola
Fix some comments
-rw-r--r--crates/hir/src/semantics.rs2
-rw-r--r--editors/code/src/run.ts2
2 files changed, 2 insertions, 2 deletions
diff --git a/crates/hir/src/semantics.rs b/crates/hir/src/semantics.rs
index f8dd81a2fab..95f6cb9bd42 100644
--- a/crates/hir/src/semantics.rs
+++ b/crates/hir/src/semantics.rs
@@ -670,7 +670,7 @@ impl<'db> SemanticsImpl<'db> {
                             _ => 0,
                         };
                         // FIXME: here, the attribute's text range is used to strip away all
-                        // entries from the start of the attribute "list" up the the invoking
+                        // entries from the start of the attribute "list" up the invoking
                         // attribute. But in
                         // ```
                         // mod foo {
diff --git a/editors/code/src/run.ts b/editors/code/src/run.ts
index 778cbc5762a..fc3f1acce54 100644
--- a/editors/code/src/run.ts
+++ b/editors/code/src/run.ts
@@ -43,7 +43,7 @@ export async function selectRunnable(
         return;
     }
 
-    // clear the list before we hook up listeners to to avoid invoking them
+    // clear the list before we hook up listeners to avoid invoking them
     // if the user happens to accept the placeholder item
     quickPick.items = [];