simple return

This commit is contained in:
Jeroen Vannevel 2022-01-14 01:26:17 +00:00
parent 0700282b75
commit 683de877ce
No known key found for this signature in database
GPG key ID: 78EF5F52F38C49BD

View file

@ -52,7 +52,7 @@ pub(crate) fn merge_match_arms(acc: &mut Assists, ctx: &AssistContext) -> Option
return false;
}
return are_same_types(&current_arm_types, arm, ctx);
are_same_types(&current_arm_types, arm, ctx)
}
_ => false,
})