From 683de877ce49d0abd472777a94d3038eee1ee060 Mon Sep 17 00:00:00 2001 From: Jeroen Vannevel Date: Fri, 14 Jan 2022 01:26:17 +0000 Subject: [PATCH] simple return --- crates/ide_assists/src/handlers/merge_match_arms.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/ide_assists/src/handlers/merge_match_arms.rs b/crates/ide_assists/src/handlers/merge_match_arms.rs index 0168e3faef..da81d420f9 100644 --- a/crates/ide_assists/src/handlers/merge_match_arms.rs +++ b/crates/ide_assists/src/handlers/merge_match_arms.rs @@ -52,7 +52,7 @@ pub(crate) fn merge_match_arms(acc: &mut Assists, ctx: &AssistContext) -> Option return false; } - return are_same_types(¤t_arm_types, arm, ctx); + are_same_types(¤t_arm_types, arm, ctx) } _ => false, })