mirror of
https://github.com/rust-lang/rust-analyzer
synced 2024-12-25 12:33:33 +00:00
simple return
This commit is contained in:
parent
0700282b75
commit
683de877ce
1 changed files with 1 additions and 1 deletions
|
@ -52,7 +52,7 @@ pub(crate) fn merge_match_arms(acc: &mut Assists, ctx: &AssistContext) -> Option
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
return are_same_types(¤t_arm_types, arm, ctx);
|
are_same_types(¤t_arm_types, arm, ctx)
|
||||||
}
|
}
|
||||||
_ => false,
|
_ => false,
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in a new issue