From 638df27f999434d5da28061d07063f4d17b3706b Mon Sep 17 00:00:00 2001 From: cui fliter Date: Fri, 29 Dec 2023 11:50:24 +0800 Subject: [PATCH] Fix some comments Signed-off-by: cui fliter --- crates/hir/src/semantics.rs | 2 +- editors/code/src/run.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/hir/src/semantics.rs b/crates/hir/src/semantics.rs index f8dd81a2fa..95f6cb9bd4 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 778cbc5762..fc3f1acce5 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 = [];