From 460fad363c30fb2e2372cfe1d3d6a661d793e6b9 Mon Sep 17 00:00:00 2001 From: reflecttypefor Date: Wed, 17 Jun 2026 23:02:15 +0800 Subject: [PATCH] Fix typo in unmerge match arm comment Signed-off-by: reflecttypefor --- crates/ide-assists/src/handlers/unmerge_match_arm.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/ide-assists/src/handlers/unmerge_match_arm.rs b/crates/ide-assists/src/handlers/unmerge_match_arm.rs index 555d3d2ee9cd..b1ea0c83e77b 100644 --- a/crates/ide-assists/src/handlers/unmerge_match_arm.rs +++ b/crates/ide-assists/src/handlers/unmerge_match_arm.rs @@ -86,7 +86,7 @@ pub(crate) fn unmerge_match_arm(acc: &mut Assists, ctx: &AssistContext<'_, '_>) // - After the arm. In this case we always want to insert a comma after the newly // inserted arm. // - Missing after the arm, with no arms after. In this case we want to insert a - // comma before the newly inserted arm. It can not be necessary if there arm + // comma before the newly inserted arm. It can not be necessary if the arm // body is a block, but we don't bother to check that. // - Missing after the arm with arms after, if the arm body is a block. In this case // we don't want to insert a comma at all.